Commits

Sergio Cinos committed 0ecef80

Fix urlBuilder initialization

  • Participants
  • Parent commits 20d11e9

Comments (0)

Files changed (1)

         apiUrl = config.apiUrl;
     }
 
+    var urlBuilder = new UrlBuilder(apikey, apiUrl);
     var requestBuilder = new RequestBuilder(urlBuilder,request);
-    var urlBuilder = new UrlBuilder(apiUrl);
     var syncBuilder = new SyncBuilder(urlBuilder, requestBuilder , cache);
 
     backbone.sync = syncBuilder.build();