feat: Update response message for clarity
parent
9ff95ff4bd
commit
d25d296498
|
@ -226,11 +226,13 @@ export const remoteTicketCreation = async (
|
|||
}
|
||||
|
||||
console.log(
|
||||
`REMOTE TICKET CREATION FROM ENDPOINT | STATUS: 500 | MSG: Whatsapp number ${contact_from} disconnected`
|
||||
`REMOTE TICKET CREATION FROM ENDPOINT | STATUS: 500 | MSG: Whatsapp number ${contact_from} disconnected or it doesn't exist in omnihit`
|
||||
);
|
||||
return res
|
||||
.status(500)
|
||||
.json({ msg: `Whatsapp number ${contact_from} disconnected` });
|
||||
.json({
|
||||
msg: `Whatsapp number ${contact_from} disconnected or it doesn't exist in omnihit`
|
||||
});
|
||||
};
|
||||
|
||||
export const store = async (req: Request, res: Response): Promise<Response> => {
|
||||
|
|
Loading…
Reference in New Issue