Commit 0b76aa37 authored by Giannis Kopanas's avatar Giannis Kopanas
Browse files

Merge branch 'fix-authsome-no-team-member' into 'master'

fix(authsome): no team member found fails

See merge request !209
parents 0271ae81 6a030e2b
Pipeline #7593 passed with stages
in 2 minutes and 58 seconds
......@@ -62,7 +62,7 @@ class XpubCollabraMode {
const memberships = await Promise.all(
this.user.teams.map(async teamId => {
const team = await this.context.models.Team.find(teamId)
if (!team) return [false]
return membershipCondition(team)
}),
)
......
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