From 1f3a673bdf0b6eb96e2fa41592558349971bbfed Mon Sep 17 00:00:00 2001 From: David Paul Graham <43794491+dpgraham4401@users.noreply.github.com> Date: Mon, 11 Mar 2024 10:55:14 -0400 Subject: [PATCH] fix URL used for login endpoint on our front end (#695) --- client/src/store/userSlice/user.slice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/store/userSlice/user.slice.ts b/client/src/store/userSlice/user.slice.ts index 3d84ebd4a..28973b476 100644 --- a/client/src/store/userSlice/user.slice.ts +++ b/client/src/store/userSlice/user.slice.ts @@ -89,7 +89,7 @@ export const userApi = haztrakApi.injectEndpoints({ // Note: build.query login: build.mutation({ query: (data) => ({ - url: 'login', + url: 'user/login', method: 'POST', data: data, }),