diff --git a/packages/component-invite/src/routes/collectionsInvitations/post.js b/packages/component-invite/src/routes/collectionsInvitations/post.js index d1c3eae146fcb68eb139b8d5d4374b016ebdfa80..d58a659de9a875802775807c733eb843654766cf 100644 --- a/packages/component-invite/src/routes/collectionsInvitations/post.js +++ b/packages/component-invite/src/routes/collectionsInvitations/post.js @@ -40,6 +40,8 @@ module.exports = models => async (req, res) => { }) } + // check collection status + const authsome = authsomeHelper.getAuthsome(models) const target = { collection,