init nostr
This commit is contained in:
parent
4f94b5fc1f
commit
bec30f2ab0
7 changed files with 1082 additions and 9 deletions
|
|
@ -101,9 +101,7 @@ exports.run = async (event: any, context: any) => {
|
|||
for (const post of posts) {
|
||||
logger.info({ post }, "saving post");
|
||||
const savedNewPost = await savePost(post);
|
||||
if (savedNewPost) {
|
||||
await saveTags(post, savedNewPost.id);
|
||||
await saveImages(post, savedNewPost.id);
|
||||
}
|
||||
await saveTags(post, savedNewPost.id);
|
||||
await saveImages(post, savedNewPost.id);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue