Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
xpub
xpub-collabra
Commits
6a030e2b
Commit
6a030e2b
authored
Jun 20, 2018
by
Giannis Kopanas
Browse files
fix(authsome): no team member found fails
parent
0271ae81
Pipeline
#7591
passed with stages
in 5 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config/authsome.js
View file @
6a030e2b
...
...
@@ -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
)
}),
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment