More code clean up
This commit is contained in:
@@ -28,7 +28,7 @@ export async function load_ae_obj_id__journal_entry({
|
||||
}
|
||||
|
||||
ae_promises.load__journal_entry_obj = await api
|
||||
.get_ae_obj_v3({
|
||||
.get_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'journal_entry',
|
||||
obj_id: journal_entry_id,
|
||||
@@ -109,7 +109,7 @@ export async function load_ae_obj_li__journal_entry({
|
||||
let promise;
|
||||
|
||||
if (for_obj_type === 'journal' && for_obj_id) {
|
||||
promise = api.get_nested_obj_li_v3({
|
||||
promise = api.get_nested_obj_li({
|
||||
api_cfg,
|
||||
parent_type: 'journal',
|
||||
parent_id: for_obj_id,
|
||||
@@ -122,7 +122,7 @@ export async function load_ae_obj_li__journal_entry({
|
||||
log_lvl
|
||||
});
|
||||
} else {
|
||||
promise = api.get_ae_obj_li_v3({
|
||||
promise = api.get_ae_obj_li({
|
||||
api_cfg,
|
||||
obj_type: 'journal_entry',
|
||||
for_obj_type,
|
||||
@@ -281,7 +281,7 @@ export async function delete_ae_obj_id__journal_entry({
|
||||
}
|
||||
|
||||
ae_promises.delete__journal_entry_obj = await api
|
||||
.delete_ae_obj_v3({
|
||||
.delete_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'journal_entry',
|
||||
obj_id: journal_entry_id,
|
||||
@@ -426,7 +426,7 @@ export async function qry__journal_entry({
|
||||
}
|
||||
|
||||
ae_promises.load__journal_entry_obj_li = await api
|
||||
.search_ae_obj_v3({
|
||||
.search_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'journal_entry',
|
||||
search_query,
|
||||
|
||||
Reference in New Issue
Block a user