Commit 8e748060 authored by Giannis Kopanas's avatar Giannis Kopanas

fix tests for GET list collections

parent 4a2fe774
......@@ -66,6 +66,7 @@ class XpubCollabraMode {
return membershipCondition(team)
}),
)
return memberships.includes(true)
}
......@@ -293,6 +294,7 @@ class XpubCollabraMode {
return condition ? collection : false
}),
)
return filteredCollections.filter(collection => collection)
},
}
......
......@@ -5,6 +5,7 @@ const authsomeConfig = require('config').get('authsome')
const collections = [
{
id: 'collection1',
fragments: ['fragment1'],
},
{
id: 'collection2',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment