More work on getting the BB ready for IDAA. Improved notification handling. Bug fixes related to creating posts and comments.

This commit is contained in:
Scott Idem
2024-11-22 14:07:27 -05:00
parent 1868adad99
commit 7ba11a104d
6 changed files with 61 additions and 13 deletions

View File

@@ -11,11 +11,19 @@ export async function load_ae_obj_id__post_comment(
{
api_cfg,
post_comment_id,
enabled = 'enabled',
hidden = 'not_hidden',
limit = 99,
offset = 0,
try_cache = true,
log_lvl = 0
}: {
api_cfg: any,
post_comment_id: string,
enabled?: string,
hidden?: string,
limit?: number,
offset?: number,
try_cache?: boolean,
log_lvl?: number
}
@@ -292,7 +300,8 @@ export async function update_ae_obj__post_comment(
if (post_comment_obj_update_result) {
if (try_cache) {
db_save_ae_obj_li__post_comment({
obj_type: 'post_comment', obj_li: [post_comment_obj_update_result],
obj_type: 'post_comment',
obj_li: [post_comment_obj_update_result],
log_lvl: log_lvl
});
}