hubotio / hubot

A customizable life embetterment robot.

Home Page:https://hubotio.github.io/hubot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Brain.users()` claims it returns an Array but returns an Object

yincrash opened this issue · comments

// Public: Get an Array of User objects stored in the brain.

When attempting to use .forEach on the return result, it causes an error since it's not an Array. A fix could either be extracting all the Users into an Array to return or change the promise of what the function should return.

I'll update the comment.