Shift one more arg off in the sync wrapper.
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -35,6 +35,7 @@ define(function(require) { | ... | @@ -35,6 +35,7 @@ define(function(require) { |
35 | var authSync = function authSync(auth, origSync, method, model, options) { | 35 | var authSync = function authSync(auth, origSync, method, model, options) { |
36 | var args = _.toArray(arguments); | 36 | var args = _.toArray(arguments); |
37 | args.shift(); | 37 | args.shift(); |
38 | args.shift(); | ||
38 | var url = options.url || _.result(model, 'url'); | 39 | var url = options.url || _.result(model, 'url'); |
39 | if (url) { | 40 | if (url) { |
40 | var sessionId = auth.get('sessionId'); | 41 | var sessionId = auth.get('sessionId'); | ... | ... |
-
Please register or sign in to post a comment