Skip to content

Commit d890d46

Browse files
author
Tom Kirkpatrick
committed
fix: define return value from RabbitMQ.status as array of objects
1 parent e3e97cd commit d890d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/models/rabbitmq.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = function queueFn(RabbitMQ) {
5858
description: 'Get queues of connected rabbitmq server',
5959
returns: {
6060
arg: 'result',
61-
type: 'Array',
61+
type: [ 'Object' ],
6262
root: true,
6363
},
6464
http: { path: '/queues', verb: 'get' },

0 commit comments

Comments
 (0)