From 23ec55f6f5d173c855b337b8733414e20a33ad2a Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Fri, 3 May 2024 10:43:53 +0200
Subject: [PATCH] fix(api): fetchLogout

---
 src/API.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/API.ts b/src/API.ts
index be154814..add94062 100644
--- a/src/API.ts
+++ b/src/API.ts
@@ -31,7 +31,7 @@ export const fetchWhoAmI = async () => {
 }
 
 export const fetchLogout = async () => {
-  return await axios.get(endpoints.common.WhoAmI)
+  return await axios.get(endpoints.common.logout)
 }
 
 export const fetchEcogestureImages = async (
-- 
GitLab