Cleaning up loading and caching of event, event_location, and event_device. Also working on improving checking event_session list.

This commit is contained in:
Scott Idem
2022-03-14 18:56:58 -04:00
parent 437b9af482
commit 05ccab995a
2 changed files with 3 additions and 2 deletions

View File

@@ -109,9 +109,10 @@ const app_mode = 'app'; // null, 'default', 'onsite', 'app'
let client_account_id = app_config.account_id; let client_account_id = app_config.account_id;
console.log(client_account_id); console.log(client_account_id);
let event_id = app_config.event_id; let event_id = app_config.event_id;
let event_device_id = app_config.event_device_id;
let event_location_id = app_config.event_location_id; let event_location_id = app_config.event_location_id;
const page_for = { 'event': event_id, 'event_location': event_location_id }; // Simple key value like object const page_for = { 'event': event_id, 'event_device': event_device_id, 'event_location': event_location_id }; // Simple key value like object
console.log(page_for); console.log(page_for);
const host_file_cache_path = app_config.host_file_cache_path; // 'file_cache/' const host_file_cache_path = app_config.host_file_cache_path; // 'file_cache/'

View File

@@ -1,7 +1,7 @@
{ {
"account_id": "_XY7DXtc9MY", "account_id": "_XY7DXtc9MY",
"device_id": "dbgMWS3KEHE",
"event_id": "pjrcghqwert", "event_id": "pjrcghqwert",
"event_device_id": "dbgMWS3KEHE",
"event_location_id": null, "event_location_id": null,
"event_session_id": null, "event_session_id": null,
"event_presentation_id": null, "event_presentation_id": null,