feat(v3-api): rollout 'view' parameter across event library modules
This commit is contained in:
@@ -13,12 +13,14 @@ const ae_promises: key_val = {};
|
||||
export async function load_ae_obj_id__event_device({
|
||||
api_cfg,
|
||||
event_device_id,
|
||||
view = 'default',
|
||||
inc_location_id = false,
|
||||
try_cache = true,
|
||||
log_lvl = 0
|
||||
}: {
|
||||
api_cfg: any;
|
||||
event_device_id: string;
|
||||
view?: string;
|
||||
inc_location_id?: boolean;
|
||||
try_cache?: boolean;
|
||||
log_lvl?: number;
|
||||
@@ -32,6 +34,7 @@ export async function load_ae_obj_id__event_device({
|
||||
api_cfg,
|
||||
obj_type: 'event_device',
|
||||
obj_id: event_device_id,
|
||||
view,
|
||||
log_lvl
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user