From 0c9b6ec325779e56230c0ff39cfd976c24e6a869 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 8 Aug 2024 12:45:22 +0530 Subject: [PATCH] fix: send api response Signed-off-by: Pranav C --- packages/nocodb/src/modules/auth/auth.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/modules/auth/auth.controller.ts b/packages/nocodb/src/modules/auth/auth.controller.ts index 76d22c24b8..18d6d766ae 100644 --- a/packages/nocodb/src/modules/auth/auth.controller.ts +++ b/packages/nocodb/src/modules/auth/auth.controller.ts @@ -154,7 +154,7 @@ export class AuthController { // set new refresh token await this.setRefreshToken({ req, res }); - return { msg: 'Password has been updated successfully' }; + res.json({ msg: 'Password has been updated successfully' }); } @Post([