More code clean up

This commit is contained in:
Scott Idem
2026-03-24 10:54:40 -04:00
parent 8e61bd0ba1
commit 42358efe7d
43 changed files with 228 additions and 228 deletions

View File

@@ -131,7 +131,7 @@ async function _refresh_journal_id_background({
}: any) {
if (typeof navigator !== 'undefined' && !navigator.onLine) return null;
try {
const result = await api.get_ae_obj_v3({
const result = await api.get_ae_obj({
api_cfg,
obj_type: 'journal',
obj_id: journal_id,
@@ -301,7 +301,7 @@ async function _refresh_journal_li_background({
if (hidden === 'hidden')
search_query.and.push({ field: 'hide', op: 'eq', value: true });
promise = api.search_ae_obj_v3({
promise = api.search_ae_obj({
api_cfg,
obj_type: 'journal',
search_query,
@@ -311,7 +311,7 @@ async function _refresh_journal_li_background({
log_lvl
});
} else {
promise = api.get_ae_obj_li_v3({
promise = api.get_ae_obj_li({
api_cfg,
obj_type: 'journal',
for_obj_type,
@@ -462,7 +462,7 @@ export async function delete_ae_obj_id__journal({
}
ae_promises.delete__journal_obj = await api
.delete_ae_obj_v3({
.delete_ae_obj({
api_cfg: api_cfg,
obj_type: 'journal',
obj_id: journal_id,
@@ -637,7 +637,7 @@ export async function qry__journal({
}
ae_promises.load__journal_obj_li = await api
.search_ae_obj_v3({
.search_ae_obj({
api_cfg: api_cfg,
obj_type: 'journal',
search_query,