mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-24 15:59:08 +00:00
FIX: Merged with radaels branch
This commit is contained in:
Generated
-18484
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -56,7 +56,7 @@ async function bootstrap() {
|
||||
.build();
|
||||
|
||||
const document = SwaggerModule.createDocument(app, config);
|
||||
writeFileSync('./swagger.json', JSON.stringify(document));
|
||||
|
||||
if (process.env.ENV != 'stg' && process.env.ENV != 'prd')
|
||||
SwaggerModule.setup('api', app, document);
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ export class ConnectorController {
|
||||
async getAllConnectors(@Query() queries: GetAllDto) {
|
||||
this.logger.info('/upload - Upload Connector Route');
|
||||
|
||||
const { filters, search } = queries;
|
||||
const { search, ...filters } = queries;
|
||||
|
||||
const response: any = await this.connectorClientService.getAllConnectors({
|
||||
filters: filters || {},
|
||||
|
||||
@@ -5,5 +5,5 @@ export class GetAllDto {
|
||||
search: string;
|
||||
|
||||
@ApiProperty()
|
||||
filters: object;
|
||||
filters: any;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user