diff --git a/resources/store/wish.js b/resources/store/wish.js index 493b4be..a5ea493 100644 --- a/resources/store/wish.js +++ b/resources/store/wish.js @@ -11,14 +11,7 @@ export const useWishStore = defineStore('wish', { }, async getUserWishes(user_id){ let result = null; - await axios.get(`/api/wish/user_wishes/${user_id.toString()}`, - // { - // headers: { - // Authorization: `Bearer ${token}`, - // token: token - // } - // } - ).then((response)=>{ + await axios.get(`/api/wish/user_wishes/${user_id.toString()}`).then((response)=>{ result = response.data; }); return result;