Убрал лишнюю хрень
This commit is contained in:
parent
2c8fdce6aa
commit
321419c0f0
|
@ -11,14 +11,7 @@ export const useWishStore = defineStore('wish', {
|
||||||
},
|
},
|
||||||
async getUserWishes(user_id){
|
async getUserWishes(user_id){
|
||||||
let result = null;
|
let result = null;
|
||||||
await axios.get(`/api/wish/user_wishes/${user_id.toString()}`,
|
await axios.get(`/api/wish/user_wishes/${user_id.toString()}`).then((response)=>{
|
||||||
// {
|
|
||||||
// headers: {
|
|
||||||
// Authorization: `Bearer ${token}`,
|
|
||||||
// token: token
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
).then((response)=>{
|
|
||||||
result = response.data;
|
result = response.data;
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue