From bff90ed4333912f04c86f594d20378a699c33ce3 Mon Sep 17 00:00:00 2001 From: jrcleber Date: Thu, 18 Apr 2024 20:57:23 +0000 Subject: [PATCH] bug fix: parameter not assigned to route - resolved --- src/whatsapp/routers/instance.router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/whatsapp/routers/instance.router.ts b/src/whatsapp/routers/instance.router.ts index 5fde7964..9546ed87 100644 --- a/src/whatsapp/routers/instance.router.ts +++ b/src/whatsapp/routers/instance.router.ts @@ -120,7 +120,7 @@ export function InstanceRouter( return res.status(HttpStatus.OK).json(response); }) - .put('/refreshToken', async (req, res) => { + .put(routerPath('refreshToken'), async (req, res) => { const response = await dataValidate({ request: req, schema: oldTokenSchema,