From a0e36844e119d3ea19a2c64e75bc5218aa8b4f96 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 17 Apr 2020 11:07:58 -0700 Subject: more stats --- lib/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/utils.js') 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 }} }); } }; -- cgit v1.2.3