Commit 3058334b authored by Phil Hughes's avatar Phil Hughes

EE backport for callback being optional

parent 06cd08eb
...@@ -59,7 +59,7 @@ const Api = { ...@@ -59,7 +59,7 @@ const Api = {
}, },
// Return projects list. Filtered by query // Return projects list. Filtered by query
projects(query, options, callback) { projects(query, options, callback = $.noop) {
const url = Api.buildUrl(Api.projectsPath); const url = Api.buildUrl(Api.projectsPath);
const defaults = { const defaults = {
search: query, search: query,
......
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