bug fixes

This commit is contained in:
daniel31x13
2024-11-08 17:57:50 -05:00
parent 8593df4673
commit 7ca574b76f
5 changed files with 50 additions and 33 deletions
@@ -37,6 +37,6 @@ export default async function collections(
collectionId: collection.id,
});
return res.status(tags.status).json({ response: tags.response });
return res.status(tags?.status || 500).json({ response: tags?.response });
}
}