diff options
| author | Adam Soltys <[email protected]> | 2020-04-17 11:07:58 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-04-17 11:07:58 -0700 |
| commit | a0e36844e119d3ea19a2c64e75bc5218aa8b4f96 (patch) | |
| tree | eab6ad46767aa2b4d0fc4546ba5c10f3c21b5a58 /lib | |
| parent | 474d96cc5c04cba55d67c53a8ff48b8468bc99a7 (diff) | |
| download | coinos-server-a0e36844e119d3ea19a2c64e75bc5218aa8b4f96.tar.gz coinos-server-a0e36844e119d3ea19a2c64e75bc5218aa8b4f96.zip | |
more stats
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 }} }); } }; |
