From f2656879bb5510bca9b90327c126ece8bcff2891 Mon Sep 17 00:00:00 2001 From: VIktorGrev <viktog2210@gmail.com> Date: Thu, 2 May 2024 17:19:40 +0200 Subject: [PATCH] fix: Fixing build --- src/components/Shop/ItemShop.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Shop/ItemShop.vue b/src/components/Shop/ItemShop.vue index 725e27d..da198f4 100644 --- a/src/components/Shop/ItemShop.vue +++ b/src/components/Shop/ItemShop.vue @@ -100,7 +100,7 @@ const getStore = async () => { const getPoints = async () => { try { const response = await UserService.getUser(); - points.value = response.point.currentPoints; + points.value = response.point?.currentPoints; } catch (error) { console.log(error); } -- GitLab