Allow (basic) chaining on api_with_auth
This commit is contained in:
parent
983a55780f
commit
cd0e4c6f3e
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ function api_with_auth(settings, password) {
|
|||
var on_success = settings.on_success || $.noop ;
|
||||
var on_400 = settings.on_400 || $.noop ;
|
||||
|
||||
$.ajax({
|
||||
return $.ajax({
|
||||
dataType: "json",
|
||||
url: url,
|
||||
method: "POST",
|
||||
|
|
Loading…
Reference in a new issue