baiyanting пре 1 година
родитељ
комит
7ac10b4d72
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/Header.vue

+ 1 - 1
src/components/Header.vue

@@ -93,7 +93,7 @@ const collapse = computed(() => store.state.collapse);
 const handleCommand = (command) => {
   if (command == "loginout") {
     logout({
-      token: getCookie("authToken"),
+      token: getCookie("accessToken"),
       userId: getCookie("userId"),
     }).then((res) => {
       store.commit("user/REMOVE_TOKEN");