Add AuthService constructor with serverApi param
[arvados-workbench2.git] / src / services / services.ts
index 51d2b760e39d1f006772aab5a453dff1dfbb6e63..88f6ffaefd46527571d4a0181364a6d0663c03fa 100644 (file)
@@ -3,10 +3,10 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import AuthService from "./auth-service/auth-service";
-import CollectionService from "./collection-service/collection-service";
 import GroupsService from "./groups-service/groups-service";
 import { serverApi } from "../common/api/server-api";
+import ProjectService from "./project-service/project-service";
 
-export const authService = new AuthService();
-export const collectionService = new CollectionService();
+export const authService = new AuthService(serverApi);
 export const groupsService = new GroupsService(serverApi);
+export const projectService = new ProjectService(serverApi);