data endpoint for entity 90008 (aka. a website)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: throw error if parent is not found, not if it is also found

dusk 612fa922 a3d79509

+2 -1
+2 -1
src/routes/log/create/+server.ts
··· 52 52 if (parentUri !== undefined) { 53 53 const parentPost = await bot.getPost(parentUri) 54 54 postRef = await parentPost.reply(postPayload) 55 + } else { 56 + throw "a reply was requested but no reply is found" 55 57 } 56 - throw "a reply was requested but no reply is found" 57 58 } else { 58 59 postRef = await bot.post(postPayload) 59 60 }