Skip to content

Commit

Permalink
fix: service provider issues with AdminService (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleidig authored Mar 20, 2024
1 parent c228c3b commit 7ef7f0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/admin/admin.module.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Module } from '@nestjs/common';
import { AdminController } from './admin.controller';
import { PermissionModule } from '../permissions/permission.module';
import { CouchdbModule } from '../couchdb/couchdb.module';
import { AuthModule } from '../auth/auth.module';
import { AdminService } from './admin.service';

@Module({
controllers: [AdminController],
imports: [PermissionModule, CouchdbModule, AuthModule],
imports: [CouchdbModule, AuthModule],
providers: [AdminService],
exports: [AdminService],
})
export class AdminModule {}
3 changes: 2 additions & 1 deletion src/permissions/permission.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { Module } from '@nestjs/common';
import { RulesService } from './rules/rules.service';
import { PermissionService } from './permission/permission.service';
import { HttpModule } from '@nestjs/axios';
import { AdminModule } from '../admin/admin.module';

@Module({
imports: [HttpModule],
imports: [HttpModule, AdminModule],
providers: [RulesService, PermissionService],
exports: [RulesService, PermissionService],
})
Expand Down

0 comments on commit 7ef7f0a

Please sign in to comment.