Merge branch 'develop' into groupJid-query-or-body

This commit is contained in:
Davidson Gomes
2023-07-26 18:40:54 -03:00
committed by GitHub
3 changed files with 3 additions and 13 deletions

View File

@@ -110,10 +110,7 @@ export abstract class RouterBroker {
if (request.query?.groupJid) {
groupJid = request.query.groupJid;
} else {
throw new BadRequestException(
'The group id needs to be informed in the query',
'ex: "groupJid=120362@g.us"',
);
throw new BadRequestException('The group id needs to be informed in the query', 'ex: "groupJid=120362@g.us"');
}
}