Updated the person functions. General clean up of code.

This commit is contained in:
Scott Idem
2025-06-10 12:16:19 -04:00
parent 4c1449bb8f
commit 39a878ac38
11 changed files with 505 additions and 111 deletions

View File

@@ -46,9 +46,9 @@ export async function load_ae_obj_id__journal(
ae_promises.load__journal_obj = await api.get_ae_obj_id_crud({
api_cfg: api_cfg,
obj_type: 'journal',
obj_id: journal_id, // NOTE: This is the FQDN, not normally the ID.
use_alt_table: true, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value in the API config.
obj_id: journal_id,
use_alt_table: true,
use_alt_base: false,
params: params,
log_lvl: log_lvl
})
@@ -447,7 +447,7 @@ export async function update_ae_obj__journal({
console.log(`*** update_ae_obj__journal() *** journal_id=${journal_id}`, data_kv);
}
log_lvl = 1;
// log_lvl = 1;
// Perform the API update
const result = await api.update_ae_obj_id_crud({