From fc15aec882d960bcba184ab53751560497c1e52d Mon Sep 17 00:00:00 2001 From: vivek kasture Date: Wed, 27 Nov 2024 16:47:02 +0530 Subject: [PATCH] Issue #PS-0000 fix: Updated api endpoints --- src/services/ResetPasswordService.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/ResetPasswordService.tsx b/src/services/ResetPasswordService.tsx index 47f695d..bb9d0d9 100644 --- a/src/services/ResetPasswordService.tsx +++ b/src/services/ResetPasswordService.tsx @@ -4,7 +4,7 @@ export const forgotPasswordAPI = async ( newPassword: any, token: any ): Promise => { - const apiUrl: string = `${import.meta.env.VITE_PUBLIC_MIDDLEWARE_URL}/forgot-password`; + const apiUrl: string = `${import.meta.env.VITE_PUBLIC_MIDDLEWARE_URL}/user/v1/forgot-password`; try { const response = await axios.post(apiUrl, { newPassword, token }, {