Skip to content

Commit 2defed6

Browse files
committed
11
1 parent e2f6f7b commit 2defed6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

OpenFlow/src/amqpwrapper.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)