MED-147: add doctor actions logging (#59)
* MED-147: add doctor actions logging * enum casing
This commit is contained in:
@@ -12,7 +12,7 @@ import { PageBody } from '@kit/ui/page';
|
||||
import { createI18nServerInstance } from '~/lib/i18n/i18n.server';
|
||||
import { withI18n } from '~/lib/i18n/with-i18n';
|
||||
import {
|
||||
PAGE_VIEW_ACTION,
|
||||
PageViewAction,
|
||||
createPageViewLog,
|
||||
} from '~/lib/services/audit/pageView.service';
|
||||
|
||||
@@ -46,7 +46,7 @@ function TeamAccountHomePage({ params }: TeamAccountHomePageProps) {
|
||||
use(
|
||||
createPageViewLog({
|
||||
accountId: teamAccount.id,
|
||||
action: PAGE_VIEW_ACTION.VIEW_TEAM_ACCOUNT_DASHBOARD,
|
||||
action: PageViewAction.VIEW_TEAM_ACCOUNT_DASHBOARD,
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user