Убрал лишнюю хрень

This commit is contained in:
Dhaverd 2024-11-21 01:17:14 +08:00
parent 2c8fdce6aa
commit 321419c0f0

View File

@ -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;