mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-06 03:29:09 +00:00
Duc Client Refactor
This commit is contained in:
@@ -7,16 +7,11 @@ import { DucClient } from 'src/clients/duc/client.config';
|
||||
import { RolesModule } from '../roles/roles.module';
|
||||
import { PermissionsModule } from '../permissions/permissions.module';
|
||||
|
||||
const ducClient = new DucClient();
|
||||
const client = new DucClient();
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
ClientsModule.register([
|
||||
{
|
||||
name: 'DUC_PACKAGE',
|
||||
...ducClient.config(),
|
||||
},
|
||||
]),
|
||||
ClientsModule.register([client.providerOptions]),
|
||||
RolesModule,
|
||||
PermissionsModule,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user