Making a round of improvement to log messages

Also, bootstraping a new LocalAdmin service to mock the AdminApi in the pusher
This commit is contained in:
David Négrier
2022-04-13 11:24:15 +02:00
parent 7968c4ad7b
commit 952a5bd87c
6 changed files with 81 additions and 42 deletions
+5
View File
@@ -0,0 +1,5 @@
import { ADMIN_API_URL } from "../Enum/EnvironmentVariable";
import { adminApi } from "./AdminApi";
import { localAdmin } from "./LocalAdmin";
export const adminService = ADMIN_API_URL ? adminApi : localAdmin;