More updates related to the IDB table name changes for events.
This commit is contained in:
@@ -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}`);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user