Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9439631a
Commit
9439631a
authored
May 25, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some syntax errors in api.js
parent
953b4b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
app/assets/javascripts/api.js
app/assets/javascripts/api.js
+2
-3
No files found.
app/assets/javascripts/api.js
View file @
9439631a
...
...
@@ -170,8 +170,7 @@ const Api = {
},
ldap_groups
(
query
,
provider
,
callback
)
{
const
url
=
Api
.
buildUrl
(
this
.
ldapGroupsPath
);
url
=
url
.
replace
(
'
:provider
'
,
provider
);
const
url
=
Api
.
buildUrl
(
this
.
ldapGroupsPath
).
replace
(
'
:provider
'
,
provider
);
return
Api
.
wrapAjaxCall
({
url
:
url
,
data
:
Object
.
assign
({
...
...
@@ -183,7 +182,7 @@ const Api = {
dataType
:
'
json
'
})
.
done
(
groups
=>
callback
(
groups
));
}
}
,
wrapAjaxCall
(
options
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
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