Merge pull request #351 from SyncrowIOT/bugfix/fixed-delete

removed tags from validate space
This commit is contained in:
hannathkadher
2025-04-25 10:59:51 +04:00
committed by GitHub
2 changed files with 4 additions and 6 deletions

View File

@ -42,9 +42,9 @@ import { winstonLoggerOptions } from '../libs/common/src/logger/services/winston
ConfigModule.forRoot({ ConfigModule.forRoot({
load: config, load: config,
}), }),
ThrottlerModule.forRoot({ /* ThrottlerModule.forRoot({
throttlers: [{ ttl: 100000, limit: 30 }], throttlers: [{ ttl: 100000, limit: 30 }],
}), }), */
WinstonModule.forRoot(winstonLoggerOptions), WinstonModule.forRoot(winstonLoggerOptions),
ClientModule, ClientModule,
AuthenticationModule, AuthenticationModule,
@ -83,10 +83,10 @@ import { winstonLoggerOptions } from '../libs/common/src/logger/services/winston
provide: APP_INTERCEPTOR, provide: APP_INTERCEPTOR,
useClass: LoggingInterceptor, useClass: LoggingInterceptor,
}, },
{ /* {
provide: APP_GUARD, provide: APP_GUARD,
useClass: ThrottlerGuard, useClass: ThrottlerGuard,
}, }, */
], ],
}) })
export class AppModule {} export class AppModule {}

View File

@ -128,14 +128,12 @@ export class ValidationService {
'parent', 'parent',
'children', 'children',
'subspaces', 'subspaces',
'tags',
'productAllocations', 'productAllocations',
'productAllocations.product', 'productAllocations.product',
'productAllocations.tags', 'productAllocations.tags',
'subspaces.productAllocations', 'subspaces.productAllocations',
'subspaces.productAllocations.tags', 'subspaces.productAllocations.tags',
'subspaces.productAllocations.product', 'subspaces.productAllocations.product',
'subspaces.tags',
'subspaces.devices', 'subspaces.devices',
'spaceModel', 'spaceModel',
], ],