Work on post and comment email notifications.
This commit is contained in:
@@ -703,14 +703,14 @@ export function db_save_ae_obj_li__post(
|
||||
// post_comment_kv: obj.post_comment_kv,
|
||||
// post_comment_li: obj.post_comment_li,
|
||||
});
|
||||
// console.log(`Put obj with ID: ${obj.post_id_random} or ${id_random}`);
|
||||
if (log_lvl) {
|
||||
console.log(`Put obj with ID: ${obj.post_id_random} or ${id_random}`);
|
||||
}
|
||||
} catch (error) {
|
||||
let status = `Failed to put ${obj.post_id_random}: ${error}`;
|
||||
console.log(status);
|
||||
return false;
|
||||
}
|
||||
|
||||
// const id_random = await db_posts.post.put(obj);
|
||||
// console.log(`Put obj with ID: ${obj.post_id_random}`);
|
||||
});
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user