A modified version of Wafrn used on https://wf.jbc.lol (mirror of https://git.jbc.lol/jbcrn/wf.jbc.lol which is a mirror of https://codeberg.org/jbcarreon123/wf.jbc.lol)

await upsert

+1 -1
+1 -1
packages/backend/atproto/utils/getAtProtoThread.ts
··· 166 166 await getPostThreadRecursive(postCreator, verifiedFedi, undefined, remotePost.id) 167 167 remotePost.bskyCid = post.cid; 168 168 remotePost.bskyUri = post.uri; 169 - Post.upsert(remotePost) 169 + await Post.upsert(remotePost) 170 170 logger.info(remotePost, `post is ${remotePost.id}`); 171 171 return remotePost.id 172 172 }