From 3d0bd953a225e66d054029aa9b56c29040ca0ef6 Mon Sep 17 00:00:00 2001 From: alex karpovich Date: Tue, 8 Oct 2024 11:46:06 +0300 Subject: [PATCH] fix: change path --- frontend/src/services/api/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/services/api/login.js b/frontend/src/services/api/login.js index 76929fe..b678ab8 100644 --- a/frontend/src/services/api/login.js +++ b/frontend/src/services/api/login.js @@ -8,7 +8,7 @@ export function getTokenFromLocalStorage() { export async function loginModeus(username, password) { try { - return await axios.post(`${BACKEND_URL}/api/modeus/auth`, {username, password}); + return await axios.post(`${BACKEND_URL}/api/netology/auth`, {username, password}); } catch (e) { return e.response; }