From b83c190f0cdb0ac7ef36da2c739670d5d6ca3f1f Mon Sep 17 00:00:00 2001 From: John Cowen Date: Tue, 18 Feb 2020 14:03:27 +0000 Subject: [PATCH] ui: Use options.method for keying not options.type (#7308) --- ui-v2/app/services/client/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-v2/app/services/client/http.js b/ui-v2/app/services/client/http.js index 981f22999e..60ec3c7fa6 100644 --- a/ui-v2/app/services/client/http.js +++ b/ui-v2/app/services/client/http.js @@ -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() {