More code clean up
This commit is contained in:
@@ -396,7 +396,7 @@ export async function create_ae_obj__journal({
|
||||
}
|
||||
|
||||
ae_promises.create__journal = await api
|
||||
.create_ae_obj_v3({
|
||||
.create_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'journal',
|
||||
fields: {
|
||||
@@ -511,7 +511,7 @@ export async function update_ae_obj__journal({
|
||||
}
|
||||
|
||||
// Perform the API update
|
||||
const result = await api.update_ae_obj_v3({
|
||||
const result = await api.update_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'journal',
|
||||
obj_id: journal_id,
|
||||
|
||||
@@ -215,7 +215,7 @@ export async function create_ae_obj__journal_entry({
|
||||
}
|
||||
|
||||
ae_promises.create__journal_entry = await api
|
||||
.create_nested_obj_v3({
|
||||
.create_nested_obj({
|
||||
api_cfg: api_cfg,
|
||||
parent_type: 'journal',
|
||||
parent_id: journal_id,
|
||||
@@ -568,7 +568,7 @@ export async function update_ae_obj__journal_entry({
|
||||
}
|
||||
|
||||
// Perform the API update
|
||||
const result = await api.update_ae_obj_v3({
|
||||
const result = await api.update_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'journal_entry',
|
||||
obj_id: journal_entry_id,
|
||||
|
||||
Reference in New Issue
Block a user