aaa0525f by Adam Heath

Shift one more arg off in the sync wrapper.

1 parent 9666d1d0
......@@ -35,6 +35,7 @@ define(function(require) {
var authSync = function authSync(auth, origSync, method, model, options) {
var args = _.toArray(arguments);
args.shift();
args.shift();
var url = options.url || _.result(model, 'url');
if (url) {
var sessionId = auth.get('sessionId');
......