Working ability to create new Journals
This commit is contained in:
@@ -202,7 +202,7 @@ export async function load_ae_obj_li__journal(
|
||||
}
|
||||
|
||||
|
||||
// Updated 2025-03-15
|
||||
// Updated 2025-03-24
|
||||
export async function create_ae_obj__journal(
|
||||
{
|
||||
api_cfg,
|
||||
@@ -224,6 +224,11 @@ export async function create_ae_obj__journal(
|
||||
console.log(`*** create_ae_obj__journal() *** account_id=${account_id}`);
|
||||
}
|
||||
|
||||
if (!account_id) {
|
||||
console.log(`ERROR: Journals - Journal - account_id required to create`);
|
||||
return false;
|
||||
}
|
||||
|
||||
ae_promises.create__journal = await api.create_ae_obj_crud({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'journal',
|
||||
|
||||
Reference in New Issue
Block a user