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

@@ -103,7 +103,7 @@ async function _refresh_event_v3_background({
}
try {
const result = await api.get_ae_obj_v3({
const result = await api.get_ae_obj({
api_cfg: api_cfg,
obj_type: 'event',
obj_id: event_id,
@@ -267,7 +267,7 @@ export async function load_ae_obj_li__event({
search_query.and.push({ field: `${for_obj_type}_id`, op: 'eq', value: for_obj_id });
}
promise = api.search_ae_obj_v3({
promise = api.search_ae_obj({
api_cfg,
obj_type: 'event',
headers: { 'x-account-id': for_obj_id },
@@ -281,7 +281,7 @@ export async function load_ae_obj_li__event({
log_lvl
});
} else {
promise = api.get_ae_obj_li_v3({
promise = api.get_ae_obj_li({
api_cfg,
obj_type: 'event',
for_obj_type,
@@ -423,7 +423,7 @@ export async function delete_ae_obj_id__event({
try_cache?: boolean;
log_lvl?: number;
}) {
const result = await api.delete_ae_obj_v3({
const result = await api.delete_ae_obj({
api_cfg,
obj_type: 'event',
obj_id: event_id,
@@ -557,7 +557,7 @@ export async function search__event({
// meetings that are only physical or only virtual if both filters are active.
// We handle this in the Client-side Filter Layer below for correct OR logic.
result_li = await api.search_ae_obj_v3({
result_li = await api.search_ae_obj({
api_cfg,
obj_type: 'event',
headers: { 'x-account-id': for_obj_id },
@@ -573,7 +573,7 @@ export async function search__event({
});
} else {
// Option B: List All
result_li = await api.get_ae_obj_li_v3({
result_li = await api.get_ae_obj_li({
api_cfg,
obj_type: 'event',
for_obj_type,