952a5bd87c
Also, bootstraping a new LocalAdmin service to mock the AdminApi in the pusher
6 lines
211 B
TypeScript
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;
|