log page views

This commit is contained in:
Helena
2025-09-18 09:45:09 +03:00
parent 4bd88f1b4e
commit db2ccd0f57
2 changed files with 21 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ export enum PageViewAction {
REGISTRATION_SUCCESS = 'REGISTRATION_SUCCESS',
VIEW_ORDER_ANALYSIS = 'VIEW_ORDER_ANALYSIS',
VIEW_TEAM_ACCOUNT_DASHBOARD = 'VIEW_TEAM_ACCOUNT_DASHBOARD',
VIEW_TTO_SERVICE_BOOKING = 'VIEW_TTO_SERVICE_BOOKING',
}
export const createPageViewLog = async ({
@@ -37,6 +38,7 @@ export const createPageViewLog = async ({
account_id: accountId,
action,
changed_by: user.id,
extra_data: extraData
})
.throwOnError();
} catch (error) {