Skip to content

Commit e59098c

Browse files
committed
Changed whatsapp number response to 200
Nothing is being created so the code 201 is not correct
1 parent d8ca480 commit e59098c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/whatsapp/routers/chat.router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class ChatRouter extends RouterBroker {
6060
execute: (instance, data) => chatController.whatsappNumber(instance, data),
6161
});
6262

63-
return res.status(HttpStatus.CREATED).json(response);
63+
return res.status(HttpStatus.OK).json(response);
6464
})
6565
.put(this.routerPath('markMessageAsRead'), ...guards, async (req, res) => {
6666
logger.verbose('request received in markMessageAsRead');

0 commit comments

Comments
 (0)