Rever sentry user auth causing issues

This commit is contained in:
Julien Nahum 2024-02-10 14:10:14 +01:00
parent 4c7711d143
commit a66c4965a5
1 changed files with 1 additions and 7 deletions

View File

@ -1,5 +1,4 @@
import {defineStore} from 'pinia'
import * as Sentry from "@sentry/vue";
export const useAuthStore = defineStore('auth', {
state: () => {
@ -65,12 +64,7 @@ export const useAuthStore = defineStore('auth', {
useAmplitude().setUser(this.user)
useCrisp().setUser(this.user)
// Init sentry
Sentry.setUser({
id: this.user.id,
email: this.user.email,
subscription: this.user?.is_subscribed
})
// todo: set sentry user
},
logout() {