From 321419c0f03e9a4fb8e0516f5180b5a8be4164b0 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Thu, 21 Nov 2024 01:17:14 +0800 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BB=D0=B8?= =?UTF-8?q?=D1=88=D0=BD=D1=8E=D1=8E=20=D1=85=D1=80=D0=B5=D0=BD=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/store/wish.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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;