Skip to content

Commit

Permalink
ui: Use options.method for keying not options.type (#7308)
Browse files Browse the repository at this point in the history
  • Loading branch information
johncowen authored Feb 18, 2020
1 parent 6bcd596 commit b83c190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-v2/app/services/client/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b83c190

Please sign in to comment.