diff --git a/src/API.ts b/src/API.ts
index be154814f05a71dba5e49347cbada6db07101444..add94062679ebd8622c41b76e011e097088f9de4 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 (