From fe9adb7a3cb85d5b45f98b797df7793837961eb0 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 6 Jun 2024 08:09:05 +0200 Subject: [PATCH] perf: minor changes --- src/pages/Account/AccountConnections.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Account/AccountConnections.vue b/src/pages/Account/AccountConnections.vue index 4acdb597f6..f248685ae1 100644 --- a/src/pages/Account/AccountConnections.vue +++ b/src/pages/Account/AccountConnections.vue @@ -37,7 +37,7 @@ const navigate = (id) => router.push({ name: 'AccountSummary', params: { id } }) const killSession = async (id) => { try { - await axios.delete(`AccessTokens/${id}`); + await axios.delete(`${urlPath}/${id}`); paginateRef.value.fetch(); notify(t('Session killed'), 'positive'); } catch (error) { @@ -50,7 +50,7 @@ const killSession = async (id) => {
{