Post and post comments now save correctly. The viewed post does not always reflect the update though.

This commit is contained in:
Scott Idem
2024-11-07 14:10:10 -05:00
parent b381cbbc9e
commit d3609764e3
8 changed files with 490 additions and 123 deletions

View File

@@ -201,8 +201,8 @@ export async function create_ae_obj__post(
api_cfg,
account_id,
data_kv,
params={},
log_lvl=0
params = {},
log_lvl = 0
}: {
api_cfg: any,
account_id: string,
@@ -589,6 +589,8 @@ export function db_save_ae_obj_li__post(
account_id: obj.account_id_random,
external_person_id: obj.external_person_id,
topic_id: obj.topic_id,
topic: obj.topic,
topic_name: obj.topic_name,

View File

@@ -269,6 +269,8 @@ export function db_save_ae_obj_li__post_comment(
post_id: obj.post_id_random,
external_person_id: obj.external_person_id,
// name: obj.name,
// summary: obj.summary,
title: obj.title,