lib/rhoconnect/web-console/models/doc.js in rhoconnect-5.1.1 vs lib/rhoconnect/web-console/models/doc.js in rhoconnect-5.5.0
- old
+ new
@@ -8,22 +8,9 @@
initialize: function(){
var session = new Session();
this.set('api_token', session.getApiKey())
},
-
- methodUrl: {
- 'read': '/rc/v1/system/license'
- },
-
- sync: function(method, model, options) {
- if (model.methodUrl && model.methodUrl[method.toLowerCase()]) {
- options = options || {};
- options.url = model.methodUrl[method.toLowerCase()];
- options.token = this.get('api_token')
- }
- Backbone.sync(method, model, options);
- },
get_doc: function(dbkey,d_type){
self = this;
var session = new Session();
this.set('dbkey',dbkey);
\ No newline at end of file