From 385890ebe71e2b69a5891276d9bbdb3619069751 Mon Sep 17 00:00:00 2001 From: Punarv Pawade Date: Mon, 22 Apr 2024 19:27:06 +0530 Subject: [PATCH] api: change gateway auth endpoint --- webapp/src/modules/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/modules/api.ts b/webapp/src/modules/api.ts index bcb4fea..ec5b198 100644 --- a/webapp/src/modules/api.ts +++ b/webapp/src/modules/api.ts @@ -195,7 +195,7 @@ export const getToken = async (signature: string | string[] | undefined, challen }; export async function verifyToken(token: string | null) { - const url = `${gatewayURL}/api/v1.0/webapp/auth` + const url = `${gatewayURL}/api/v1.0/authenticate` const response = await axios.get(url, { headers: { "Authorization": `Bearer ${token}`