feat(v3-api): rollout 'view' parameter across event library modules
This commit is contained in:
@@ -8,10 +8,12 @@ import type { ae_EventTrack } from '$lib/types/ae_types';
|
||||
export async function load_ae_obj_li__event_track({
|
||||
api_cfg,
|
||||
event_id,
|
||||
view = 'default',
|
||||
log_lvl = 0
|
||||
}: {
|
||||
api_cfg: any;
|
||||
event_id: string;
|
||||
view?: string;
|
||||
log_lvl?: number;
|
||||
}): Promise<ae_EventTrack[]> {
|
||||
return await api.get_ae_obj_li_v3({
|
||||
@@ -19,6 +21,7 @@ export async function load_ae_obj_li__event_track({
|
||||
obj_type: 'event_track',
|
||||
for_obj_type: 'event',
|
||||
for_obj_id: event_id,
|
||||
view,
|
||||
log_lvl
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user