More code clean up
This commit is contained in:
@@ -40,7 +40,7 @@ export async function load_ae_obj_id__post({
|
||||
}
|
||||
|
||||
ae_promises.load__post_obj = await api
|
||||
.get_ae_obj_v3({
|
||||
.get_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'post',
|
||||
obj_id: post_id,
|
||||
@@ -133,7 +133,7 @@ export async function load_ae_obj_li__post({
|
||||
}
|
||||
|
||||
ae_promises.load__post_obj_li = await api
|
||||
.get_ae_obj_li_v3({
|
||||
.get_ae_obj_li({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'post',
|
||||
for_obj_type,
|
||||
@@ -258,7 +258,7 @@ export async function delete_ae_obj_id__post({
|
||||
console.log(`*** delete_ae_obj_id__post() *** post_id=${post_id}`);
|
||||
}
|
||||
|
||||
const result = await api.delete_ae_obj_v3({
|
||||
const result = await api.delete_ae_obj({
|
||||
api_cfg,
|
||||
obj_type: 'post',
|
||||
obj_id: post_id,
|
||||
@@ -393,7 +393,7 @@ export async function qry__post({
|
||||
// }
|
||||
|
||||
ae_promises.load__post_obj_li = await api
|
||||
.search_ae_obj_v3({
|
||||
.search_ae_obj({
|
||||
api_cfg,
|
||||
obj_type: 'post',
|
||||
search_query,
|
||||
|
||||
@@ -28,7 +28,7 @@ export async function load_ae_obj_id__post_comment({
|
||||
}
|
||||
|
||||
ae_promises.load__post_comment_obj = await api
|
||||
.get_ae_obj_v3({
|
||||
.get_ae_obj({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'post_comment',
|
||||
obj_id: post_comment_id,
|
||||
@@ -105,7 +105,7 @@ export async function load_ae_obj_li__post_comment({
|
||||
}
|
||||
|
||||
ae_promises.load__post_comment_obj_li = await api
|
||||
.get_ae_obj_li_v3({
|
||||
.get_ae_obj_li({
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'post_comment',
|
||||
for_obj_type,
|
||||
@@ -215,7 +215,7 @@ export async function delete_ae_obj_id__post_comment({
|
||||
console.log(`*** delete_ae_obj_id__post_comment() *** post_comment_id=${post_comment_id}`);
|
||||
}
|
||||
|
||||
const result = await api.delete_ae_obj_v3({
|
||||
const result = await api.delete_ae_obj({
|
||||
api_cfg,
|
||||
obj_type: 'post_comment',
|
||||
obj_id: post_comment_id,
|
||||
|
||||
Reference in New Issue
Block a user