From 4c7711d143a78502f91828663814476851e8718a Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Sat, 10 Feb 2024 13:43:49 +0100 Subject: [PATCH] Fix sentry import --- client/stores/auth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/stores/auth.js b/client/stores/auth.js index 7e16b76..f05f36b 100644 --- a/client/stores/auth.js +++ b/client/stores/auth.js @@ -1,5 +1,5 @@ import {defineStore} from 'pinia' -import {setUser as sentrySetUser} from "@sentry/vue"; +import * as Sentry from "@sentry/vue"; export const useAuthStore = defineStore('auth', { state: () => { @@ -66,7 +66,7 @@ export const useAuthStore = defineStore('auth', { useCrisp().setUser(this.user) // Init sentry - sentrySetUser({ + Sentry.setUser({ id: this.user.id, email: this.user.email, subscription: this.user?.is_subscribed