File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
'use strict' ;
7
7
/**
8
8
* `qos-backend-information`
9
- *
9
+ *
10
10
*
11
11
* @customElement
12
12
* @polymer
59
59
'Cannot set property \'urls\' to empty array.' ) ;
60
60
let requestQosInfo = new MultipleAjaxRequests ( urls , this , headers ) ;
61
61
this . addEventListener ( 'allResolved' , e => {
62
- this . response = e . detail ;
62
+ this . response = e . detail . response ;
63
63
/**
64
64
* @event {qos-backend-response }
65
65
*/
66
66
this . dispatchEvent ( new CustomEvent ( 'qos-backend-response' , {
67
67
bubbles : true ,
68
68
composed : true ,
69
- detail : this . response
69
+ detail : { response : this . response }
70
70
} ) ) ;
71
71
} ) ;
72
72
requestQosInfo . send ( ) ;
112
112
_computeHeaders ( auth )
113
113
{
114
114
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" ,
118
118
"Authorization" : `${ auth } `
119
119
}
120
120
}
You can’t perform that action at this time.
0 commit comments