fix: Consolidate type and parameter fixes across multiple modules
- API: Standardized 'order_by_li' types in event and archive modules. - API: Corrected 'enabled'/'hidden' parameter types in event exhibit and device search/list functions. - Type Safety: Addressed generic type casting issues in _process_generic_props across event modules. - Data Handling: Resolved return type consistency in journal creation and DB save operations. - Parameter Management: Fixed missing 'try_cache' parameters in event exhibit functions. - Core Logic: Ensured correct object properties in DB put operations for hosted files.
This commit is contained in:
@@ -545,14 +545,14 @@ async function update_ae_obj_id_crud_v2({
|
||||
`Not Patched - Field Name: ${field_name} with new Field Value: ${new_field_value}; Account ID: ${api_cfg.account_id}`
|
||||
);
|
||||
patch_result = 'PATCH failed';
|
||||
return false;
|
||||
return null;
|
||||
}
|
||||
return true;
|
||||
return null;
|
||||
})
|
||||
.catch(function (error: any) {
|
||||
console.log('Something went wrong patching the record.');
|
||||
console.log(error);
|
||||
return false;
|
||||
return null;
|
||||
})
|
||||
.finally(function () {
|
||||
console.log('PATCH Promise finally');
|
||||
|
||||
Reference in New Issue
Block a user