Skip to content
Snippets Groups Projects
Commit 560e7fce authored by John Cowen's avatar John Cowen
Browse files

ui: USe options.method to generate an ID not options.type

...which is always undefined
parent 0b29ba47
No related merge requests found
......@@ -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() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment