EE backport for callback being optional
This commit is contained in:
parent
06cd08ebad
commit
3058334b99
|
@ -59,7 +59,7 @@ const Api = {
|
|||
},
|
||||
|
||||
// Return projects list. Filtered by query
|
||||
projects(query, options, callback) {
|
||||
projects(query, options, callback = $.noop) {
|
||||
const url = Api.buildUrl(Api.projectsPath);
|
||||
const defaults = {
|
||||
search: query,
|
||||
|
|
Loading…
Reference in New Issue