diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/utils.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils.js b/lib/utils.js index c6e02a1a..7784ae5c 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -23,7 +23,8 @@ module.exports = { as: "accounts" } ], - where: { username } + where: + { [Op.or]: { username, id: username }} }); } }; |
