More updates related to the IDB table name changes for events.

This commit is contained in:
Scott Idem
2025-10-06 14:25:52 -04:00
parent c3992d8711
commit 88e4ab119d
48 changed files with 180 additions and 130 deletions

View File

@@ -465,7 +465,7 @@ export async function delete_ae_obj_id__event_location(
if (log_lvl) {
console.log(`Attempting to remove IDB entry for event_location_id=${event_location_id}`);
}
db_events.locations.delete(event_location_id);
db_events.location.delete(event_location_id);
}
});
@@ -706,7 +706,7 @@ export function db_save_ae_obj_li__event_location(
}
try {
const id_random = await db_events.locations.put({
const id_random = await db_events.location.put({
id: obj.event_location_id_random,
event_location_id: obj.event_location_id_random,
event_location_id_random: obj.event_location_id_random,
@@ -761,7 +761,7 @@ export function db_save_ae_obj_li__event_location(
console.log(status);
}
// const id_random = await db_events.locations.put(obj);
// const id_random = await db_events.location.put(obj);
// console.log(`Put obj with ID: ${obj.event_location_id_random}`);
});