Skip to content

Commit 7eea426

Browse files
committed
Fix
1 parent b86a7ca commit 7eea426

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/server/ee/src/container-module.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ import { EntitlementServiceLicense } from "./billing/entitlement-service-license
6262
import { EntitlementServiceImpl } from "./billing/entitlement-service";
6363
import { EntitlementServiceUBP } from "./billing/entitlement-service-ubp";
6464
import { UsageService, UsageServiceImpl, NoOpUsageService } from "../../src/user/usage-service";
65+
import { APIUserService } from "../../src/api/user";
66+
import { Router } from "../../src/api/server";
6567

6668
export const productionEEContainerModule = new ContainerModule((bind, unbind, isBound, rebind) => {
6769
rebind(Server).to(ServerEE).inSingletonScope();
@@ -135,4 +137,7 @@ export const productionEEContainerModule = new ContainerModule((bind, unbind, is
135137
return new NoOpUsageService();
136138
})
137139
.inSingletonScope();
140+
141+
bind(APIUserService).toSelf().inSingletonScope();
142+
bind(Router).toSelf().inSingletonScope();
138143
});

0 commit comments

Comments
 (0)