mirror of https://github.com/status-im/consul.git
ui: Use options.method for keying not options.type (#7308)
This commit is contained in:
parent
6bcd596539
commit
b83c190f0c
|
@ -207,7 +207,7 @@ export default Service.extend({
|
|||
return Promise.resolve(e);
|
||||
},
|
||||
acquire: function(options, xhr) {
|
||||
const request = new Request(options.type, options.url, { body: options.data || {} }, xhr);
|
||||
const request = new Request(options.method, options.url, { body: options.data || {} }, xhr);
|
||||
return this.connections.acquire(request, request.getId());
|
||||
},
|
||||
complete: function() {
|
||||
|
|
Loading…
Reference in New Issue