Skip to content

Commit cb32240

Browse files
committed
fixup: missing bindings
1 parent c9c056d commit cb32240

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

components/server/src/api/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ export class API {
303303
bind(TeamsServiceAPI).toSelf().inSingletonScope();
304304
bind(WorkspaceServiceAPI).toSelf().inSingletonScope();
305305
bind(OrganizationServiceAPI).toSelf().inSingletonScope();
306+
bind(AuthProviderServiceAPI).toSelf().inSingletonScope();
306307
bind(StatsServiceAPI).toSelf().inSingletonScope();
307308
bind(API).toSelf().inSingletonScope();
308309
}

components/server/src/api/teams.spec.db.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { Redis } from "ioredis";
2525
import { UserService } from "../user/user-service";
2626
import { Config } from "../config";
2727
import { OrganizationService } from "../orgs/organization-service";
28+
import { AuthProviderService } from "../auth/auth-provider-service";
2829

2930
const expect = chai.expect;
3031

@@ -47,6 +48,7 @@ export class APITeamsServiceSpec {
4748
this.container.bind(Config).toConstantValue({} as Config);
4849
this.container.bind(Redis).toConstantValue({} as Redis);
4950
this.container.bind(UserService).toConstantValue({} as UserService);
51+
this.container.bind(AuthProviderService).toConstantValue({} as AuthProviderService);
5052

5153
// Clean-up database
5254
const typeorm = testContainer.get<TypeORM>(TypeORM);

0 commit comments

Comments
 (0)