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,