From 3ad26d89ab3e6deb9a0e2b384f9c467651602ad6 Mon Sep 17 00:00:00 2001 From: Marc Hyeler Date: Wed, 15 May 2024 21:06:04 +0000 Subject: [PATCH] fix typo in url --- src/lib/services/admin/mainApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/services/admin/mainApi.js b/src/lib/services/admin/mainApi.js index 9c0ac97..cd6fe06 100644 --- a/src/lib/services/admin/mainApi.js +++ b/src/lib/services/admin/mainApi.js @@ -140,7 +140,7 @@ export async function getLockerEditData(locker) { export async function updateLockerEditData(locker, data) { try { - return await axios.post(`https://locker-api.cvapps.net/admin/edit/user-edit/${locker}`, + return await axios.post(`https://locker-api.cvapps.net/admin/edit/locker-edit/${locker}`, data , { withCredentials: true