MED-147: add doctor actions logging (#59)
* MED-147: add doctor actions logging * enum casing
This commit is contained in:
@@ -5,7 +5,7 @@ import { getSupabaseServerClient } from '@kit/supabase/server-client';
|
||||
|
||||
import { withI18n } from '~/lib/i18n/with-i18n';
|
||||
import {
|
||||
PAGE_VIEW_ACTION,
|
||||
PageViewAction,
|
||||
createPageViewLog,
|
||||
} from '~/lib/services/audit/pageView.service';
|
||||
|
||||
@@ -23,7 +23,7 @@ async function MembershipConfirmation() {
|
||||
}
|
||||
await createPageViewLog({
|
||||
accountId: user.id,
|
||||
action: PAGE_VIEW_ACTION.REGISTRATION_SUCCESS,
|
||||
action: PageViewAction.REGISTRATION_SUCCESS,
|
||||
});
|
||||
|
||||
return <MembershipConfirmationNotification userId={user.id} />;
|
||||
|
||||
Reference in New Issue
Block a user