File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -409,8 +409,8 @@ export class amqpwrapper {
409409 headers : {
410410 'Content-type' : 'application/x-www-form-urlencoded'
411411 } ,
412- username : q . username ,
413- password : q . password
412+ username : ( q as any ) . username ,
413+ password : ( q as any ) . password
414414 } ;
415415 var _url = 'http://' + q . host + ':' + q . port + '/api/vhosts' ;
416416 var response = await got . get ( _url , options ) ;
@@ -423,8 +423,8 @@ export class amqpwrapper {
423423 headers : {
424424 'Content-type' : 'application/x-www-form-urlencoded'
425425 } ,
426- username : q . username ,
427- password : q . password
426+ username : ( q as any ) . username ,
427+ password : ( q as any ) . password
428428 } ;
429429 var _url = 'http://' + q . host + ':' + q . port + '/api/queues/' + encodeURIComponent ( vhost ) ;
430430 var response = await got . get ( _url , options ) ;
@@ -437,8 +437,8 @@ export class amqpwrapper {
437437 headers : {
438438 'Content-type' : 'application/x-www-form-urlencoded'
439439 } ,
440- username : q . username ,
441- password : q . password
440+ username : ( q as any ) . username ,
441+ password : ( q as any ) . password
442442 } ;
443443 var _url = 'http://' + q . host + ':' + q . port + '/api/queues/' + encodeURIComponent ( vhost ) + '/' + queuename ;
444444 var response = await got . get ( _url , options ) ;
You can’t perform that action at this time.
0 commit comments