Skip to content

Commit 078d343

Browse files
author
Olufemi Adeyemi
committed
update to suit the latest majax
1 parent c7df51c commit 078d343

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

qos-backend-information.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
'use strict';
77
/**
88
* `qos-backend-information`
9-
*
9+
*
1010
*
1111
* @customElement
1212
* @polymer
@@ -59,14 +59,14 @@
5959
'Cannot set property \'urls\' to empty array.');
6060
let requestQosInfo = new MultipleAjaxRequests(urls, this, headers);
6161
this.addEventListener('allResolved', e => {
62-
this.response = e.detail;
62+
this.response = e.detail.response;
6363
/**
6464
* @event {qos-backend-response}
6565
*/
6666
this.dispatchEvent(new CustomEvent('qos-backend-response', {
6767
bubbles: true,
6868
composed: true,
69-
detail: this.response
69+
detail: {response: this.response}
7070
}));
7171
});
7272
requestQosInfo.send();
@@ -112,9 +112,9 @@
112112
_computeHeaders(auth)
113113
{
114114
return {
115-
"Content-type":"application/json",
116-
"Accept": "application/json",
117-
"Suppress-WWW-Authenticate": "Suppress",
115+
"Content-type":"application/json",
116+
"Accept": "application/json",
117+
"Suppress-WWW-Authenticate": "Suppress",
118118
"Authorization": `${auth}`
119119
}
120120
}

0 commit comments

Comments
 (0)