⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
small fix
daniel31x13a4c83dc82f1a
diff --git a/pages/api/v1/tags/index.ts b/pages/api/v1/tags/index.tsindex 3135001c..58add22c 100644--- a/pages/api/v1/tags/index.ts+++ b/pages/api/v1/tags/index.ts@@ -10,6 +10,6 @@ export default async function tags(req: NextApiRequest, res: NextApiResponse) {const tags = await getTags({userId: user.id,});- return res.status(tags.status).json({ response: tags.response });+ return res.status(tags?.status || 500).json({ response: tags?.response });}}