HOTFIX: how long was this broken?
This commit is contained in:
@@ -27,7 +27,7 @@ router.use(tokenDecode);
|
||||
router.use(async (req, res, next) => {
|
||||
const record = await accounts.findOne({
|
||||
where: {
|
||||
email: req.user.email || ''
|
||||
email: req.user?.email || ''
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user