view data fixes
This commit is contained in:
@@ -30,7 +30,7 @@ export class AnalyticsService implements Service {
|
||||
sessionId: 'temp-session', // Should come from a session service
|
||||
...input
|
||||
});
|
||||
return new RecordPageViewOutputViewModel(data);
|
||||
return new RecordPageViewOutputViewModel(data as any);
|
||||
}
|
||||
|
||||
async recordEngagement(input: { eventType: string; userId?: string; metadata?: Record<string, any> }): Promise<RecordEngagementOutputViewModel> {
|
||||
@@ -42,6 +42,6 @@ export class AnalyticsService implements Service {
|
||||
sessionId: 'temp-session', // Should come from a session service
|
||||
...input
|
||||
});
|
||||
return new RecordEngagementOutputViewModel(data);
|
||||
return new RecordEngagementOutputViewModel(data as any);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user