Fix sentry import
This commit is contained in:
parent
b7c4f8e010
commit
4c7711d143
|
@ -1,5 +1,5 @@
|
||||||
import {defineStore} from 'pinia'
|
import {defineStore} from 'pinia'
|
||||||
import {setUser as sentrySetUser} from "@sentry/vue";
|
import * as Sentry from "@sentry/vue";
|
||||||
|
|
||||||
export const useAuthStore = defineStore('auth', {
|
export const useAuthStore = defineStore('auth', {
|
||||||
state: () => {
|
state: () => {
|
||||||
|
@ -66,7 +66,7 @@ export const useAuthStore = defineStore('auth', {
|
||||||
useCrisp().setUser(this.user)
|
useCrisp().setUser(this.user)
|
||||||
|
|
||||||
// Init sentry
|
// Init sentry
|
||||||
sentrySetUser({
|
Sentry.setUser({
|
||||||
id: this.user.id,
|
id: this.user.id,
|
||||||
email: this.user.email,
|
email: this.user.email,
|
||||||
subscription: this.user?.is_subscribed
|
subscription: this.user?.is_subscribed
|
||||||
|
|
Loading…
Reference in New Issue