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;
|