We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e847d commit d490f8fCopy full SHA for d490f8f
src/api/routes/chat.router.ts
@@ -195,7 +195,7 @@ export class ChatRouter extends RouterBroker {
195
const instance = req.params as unknown as InstanceDto;
196
const { remoteJid } = req.query as unknown as { remoteJid: string };
197
if (!remoteJid) {
198
- return res.status(HttpStatus.BAD_REQUEST).json({ error: "remoteJid is a required query parameter" });
+ return res.status(HttpStatus.BAD_REQUEST).json({ error: 'remoteJid is a required query parameter' });
199
}
200
const response = await chatController.findChatByRemoteJid(instance, remoteJid);
201
0 commit comments