More updates to start using the newer/better way of saving to IDB.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user