partey_workadventure/pusher/src/Services/AdminService.ts
David Négrier 952a5bd87c Making a round of improvement to log messages
Also, bootstraping a new LocalAdmin service to mock the AdminApi in the pusher
2022-04-13 15:07:03 +02:00

6 lines
211 B
TypeScript

import { ADMIN_API_URL } from "../Enum/EnvironmentVariable";
import { adminApi } from "./AdminApi";
import { localAdmin } from "./LocalAdmin";
export const adminService = ADMIN_API_URL ? adminApi : localAdmin;