Various bug fixes for CHOW
This commit is contained in:
@@ -188,7 +188,7 @@ export let get_object = async function get_object(
|
||||
)
|
||||
.then(function (response) {
|
||||
if (log_lvl) {
|
||||
console.log(`GET Response: status=${response.status} statusText=${response.statusText} baseURL=${response.config.baseURL} url=${response.config.url} method=${response.config.method} headers=${response.config.headers} params=${response.config.params}`);
|
||||
console.log(`GET Response: status=${response.status} statusText=${response.statusText} baseURL=${response.config.baseURL} url=${response.config.url} method=${response.config.method} headers=${response.config.headers} params=${JSON.stringify(response.config.params)}`);
|
||||
}
|
||||
if (log_lvl > 1) {
|
||||
console.log('GET Response:', response);
|
||||
@@ -1205,9 +1205,9 @@ export let update_ae_obj_id_crud = async function update_ae_obj_id_crud({api_cfg
|
||||
|
||||
|
||||
// Updated 2023-11-14
|
||||
export let delete_ae_obj_id_crud = async function delete_ae_obj_id_crud({api_cfg, obj_type, obj_id, field_name, field_value, fields={}, key, jwt=null, headers={}, params={}, data={}, method='delete', return_meta=false, log_lvl=0}) {
|
||||
export let delete_ae_obj_id_crud = async function delete_ae_obj_id_crud({api_cfg, obj_type, obj_id, key, jwt=null, headers={}, params={}, data={}, method='delete', return_meta=false, log_lvl=0}) {
|
||||
if (log_lvl) {
|
||||
console.log('*** delete_ae_obj_id_crud() ***');
|
||||
console.log(`*** delete_ae_obj_id_crud() *** obj_type: ${obj_type} obj_id: ${obj_id}`);
|
||||
}
|
||||
|
||||
data['super_key'] = key;
|
||||
|
||||
Reference in New Issue
Block a user