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

@@ -40,7 +40,7 @@ export async function load_ae_obj_id__event_badge({
try {
ae_promises.load__event_badge_obj = await api
.get_ae_obj_v3({
.get_ae_obj({
api_cfg,
obj_type: 'event_badge',
obj_id: event_badge_id,
@@ -135,7 +135,7 @@ export async function load_ae_obj_li__event_badge({
try {
ae_promises.load__event_badge_obj_li = await api
.get_ae_obj_li_v3({
.get_ae_obj_li({
api_cfg,
obj_type: 'event_badge',
for_obj_type: 'event',
@@ -278,7 +278,7 @@ export async function delete_ae_obj_id__event_badge({
console.log(`*** delete_ae_obj_id__event_badge() *** event_badge_id=${event_badge_id}`);
}
const result = await api.delete_nested_ae_obj_v3({
const result = await api.delete_nested_ae_obj({
api_cfg,
parent_type: 'event',
parent_id: event_id,
@@ -455,7 +455,7 @@ export async function search__event_badge({
else if (hidden === 'not_hidden') search_query.and.push({ field: 'hide', op: 'eq', value: false });
ae_promises.search__event_badge_obj_li = await api
.search_ae_obj_v3({
.search_ae_obj({
api_cfg: api_cfg,
obj_type: 'event_badge',
search_query,