API bug fixes. Clean up. New util functions. Highlight times for newer files.
This commit is contained in:
@@ -5,24 +5,24 @@ import { get_object } from './api_get_object';
|
||||
export async function get_ae_obj_id_crud(
|
||||
{
|
||||
api_cfg,
|
||||
no_account_id=false,
|
||||
no_account_id = false,
|
||||
obj_type,
|
||||
obj_id,
|
||||
use_alt_table=false,
|
||||
use_alt_base=false,
|
||||
inc={},
|
||||
enabled='enabled',
|
||||
hidden='not_hidden',
|
||||
limit=999999,
|
||||
offset=0,
|
||||
data={},
|
||||
use_alt_table = false,
|
||||
use_alt_base = false,
|
||||
inc = {},
|
||||
enabled = 'enabled',
|
||||
hidden = 'not_hidden',
|
||||
limit = 999999,
|
||||
offset = 0,
|
||||
data = {},
|
||||
// key,
|
||||
// jwt=null,
|
||||
headers={},
|
||||
params={},
|
||||
timeout=25000,
|
||||
return_meta=false,
|
||||
log_lvl=0
|
||||
// jwt = null,
|
||||
headers = {},
|
||||
params = {},
|
||||
timeout = 25000,
|
||||
return_meta = false,
|
||||
log_lvl = 0
|
||||
}: {
|
||||
api_cfg: any,
|
||||
no_account_id?: boolean,
|
||||
|
||||
@@ -18,7 +18,7 @@ export let patch_object = async function patch_object(
|
||||
log_lvl?: number
|
||||
}
|
||||
) {
|
||||
console.log('*** patch_object() ***');
|
||||
console.log('*** patch_object() XXXX ***');
|
||||
|
||||
if (log_lvl) {
|
||||
// console.log(api_cfg);
|
||||
|
||||
Reference in New Issue
Block a user