More updates to start using the newer/better way of saving to IDB.

This commit is contained in:
Scott Idem
2025-06-04 12:28:16 -04:00
parent 83ff5681d6
commit f38d9b58ab
5 changed files with 120 additions and 22 deletions

View File

@@ -411,12 +411,11 @@ export async function update_ae_obj__journal_entry(
try_cache?: boolean,
log_lvl?: number;
}) {
// log_lvl = 1;
if (log_lvl) {
console.log(`*** update_ae_obj__journal_entry() *** journal_entry_id=${journal_entry_id}`, data_kv);
}
log_lvl = 1;
// Perform the API update
const result = await api.update_ae_obj_id_crud({
api_cfg: api_cfg,
@@ -481,7 +480,7 @@ export async function db_save_ae_obj_li__journal_entry(
log_lvl?: number
}
) {
log_lvl = 1;
// log_lvl = 1;
if (log_lvl) {
console.log(`*** db_save_ae_obj_li__journal_entry() *** obj_type=${obj_type}`, obj_li);
}