fix import

This commit is contained in:
Abhinav 2022-07-27 11:44:13 +05:30
parent f1d6446c0b
commit ee7e37b1e7

View file

@ -1,6 +1,6 @@
import * as Sentry from '@sentry/nextjs';
import { getSentryTunnelURL } from 'utils/common/apiUtil';
import { getUserAnonymizedID } from 'utils/user';
import { getSentryUserID } from 'utils/user';
import {
getSentryDSN,
getSentryENV,
@ -13,7 +13,7 @@ const SENTRY_ENV = getSentryENV();
const SENTRY_RELEASE = getSentryRelease();
const IS_ENABLED = getIsSentryEnabled();
Sentry.setUser({ id: getUserAnonymizedID() });
Sentry.setUser({ id: getSentryUserID() });
Sentry.init({
dsn: SENTRY_DSN,
enabled: IS_ENABLED,