aaa0525f by Adam Heath

Shift one more arg off in the sync wrapper.

1 parent 9666d1d0
...@@ -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');
......