mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-21 13:19:21 +00:00
started messages migration to ts
This commit is contained in:
@@ -53,7 +53,7 @@ export const store = async (req: Request, res: Response): Promise<Response> => {
|
||||
export const show = async (req: Request, res: Response): Promise<Response> => {
|
||||
const { whatsappId } = req.params;
|
||||
|
||||
const whatsapp = await FindWhatsAppService(whatsappId);
|
||||
const whatsapp = await FindWhatsAppService({ where: { id: +whatsappId } });
|
||||
|
||||
return res.status(200).json(whatsapp);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user