We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe8168 commit 9aacd5cCopy full SHA for 9aacd5c
apps/backend/src/app.module.ts
@@ -25,7 +25,7 @@ import { McpModule } from '@gitroom/backend/mcp/mcp.module';
25
ThrottlerModule.forRoot([
26
{
27
ttl: 3600000,
28
- limit: process.env.API_LIMIT || 30,
+ limit: process.env.API_LIMIT ? Number(process.env.API_LIMIT) : 30,
29
},
30
]),
31
],
@@ -40,8 +40,15 @@ import { McpModule } from '@gitroom/backend/mcp/mcp.module';
40
useClass: PoliciesGuard,
41
42
43
- get exports() {
44
- return [...this.imports];
45
- },
+ exports: [
+ BullMqModule,
+ DatabaseModule,
46
+ ApiModule,
47
+ PluginModule,
48
+ PublicApiModule,
49
+ AgentModule,
50
+ McpModule,
51
+ ThrottlerModule,
52
+ ],
53
})
54
export class AppModule {}
0 commit comments