mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-11 10:59:37 -06:00
refactor: lint fix
This commit is contained in:
parent
10a2c001ab
commit
79438c9445
@ -1,9 +1,9 @@
|
||||
import { RouterBroker } from '@api/abstract/abstract.router';
|
||||
import { NumberDto } from '@api/dto/chat.dto';
|
||||
import { businessController } from '@api/server.module';
|
||||
import { createMetaErrorResponse } from '@utils/errorResponse';
|
||||
import { catalogSchema, collectionsSchema } from '@validate/validate.schema';
|
||||
import { RequestHandler, Router } from 'express';
|
||||
import { createMetaErrorResponse } from '@utils/errorResponse';
|
||||
|
||||
import { HttpStatus } from './index.router';
|
||||
|
||||
|
||||
@ -3,9 +3,9 @@ import { InstanceDto } from '@api/dto/instance.dto';
|
||||
import { TemplateDto } from '@api/dto/template.dto';
|
||||
import { templateController } from '@api/server.module';
|
||||
import { ConfigService } from '@config/env.config';
|
||||
import { createMetaErrorResponse } from '@utils/errorResponse';
|
||||
import { instanceSchema, templateSchema } from '@validate/validate.schema';
|
||||
import { RequestHandler, Router } from 'express';
|
||||
import { createMetaErrorResponse } from '@utils/errorResponse';
|
||||
|
||||
import { HttpStatus } from './index.router';
|
||||
|
||||
|
||||
@ -40,8 +40,8 @@ export function createMetaErrorResponse(error: any, context: string): MetaErrorR
|
||||
error_subcode: metaError.error_subcode || null,
|
||||
fbtrace_id: metaError.fbtrace_id || null,
|
||||
context,
|
||||
type: 'whatsapp_api_error'
|
||||
type: 'whatsapp_api_error',
|
||||
},
|
||||
timestamp: new Date().toISOString()
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user