Various bug fixes and improvements. Now able to correctly create and delete Recovery Meetings.

This commit is contained in:
Scott Idem
2025-07-11 13:12:45 -04:00
parent 6e4649882c
commit b133aa1285
6 changed files with 81 additions and 34 deletions

View File

@@ -552,13 +552,13 @@ export async function qry_ae_obj_li__event(
}
// Updated 2024-12-02
// Updated 2025-07-11
export async function create_ae_obj__event(
{
api_cfg,
account_id,
data_kv,
params={},
params = {},
try_cache = true,
log_lvl = 0
}: {
@@ -574,6 +574,11 @@ export async function create_ae_obj__event(
console.log(`*** create_ae_obj__event() *** account_id=${account_id}`);
}
if (!account_id) {
console.log(`ERROR: Events - Event - account_id required to create`);
return false;
}
ae_promises.create__event = await api.create_ae_obj_crud({
api_cfg: api_cfg,
obj_type: 'event',