EE backport for callback being optional

This commit is contained in:
Phil Hughes 2018-01-29 15:13:20 +00:00
parent 06cd08ebad
commit 3058334b99
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
1 changed files with 1 additions and 1 deletions

View File

@ -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,