Skip to content
Snippets Groups Projects

HIN-1066

Merged Alexandru Munteanu requested to merge HIN-1066 into develop
All threads resolved!
1 file
+ 0
5
Compare changes
  • Side-by-side
  • Inline
@@ -20,11 +20,6 @@ module.exports = models => async (req, res) => {
collection = await models.Collection.find(collectionId)
const fragmentId = collection.fragments[0]
if (!collection.fragments.includes(fragmentId))
return res.status(400).json({
error: `Collection and fragment do not match.`,
})
fragment = await models.Fragment.find(fragmentId)
const authsome = authsomeHelper.getAuthsome(models)