1
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = {
|
||||
include: [
|
||||
[
|
||||
Sequelize.literal(
|
||||
`(SELECT COUNT(*) FROM biz_api_tokens WHERE biz_api_tokens.user_id = biz_user.id)`
|
||||
`(SELECT COUNT(*) FROM biz_api_token WHERE biz_api_token.user_id = biz_user.id)`
|
||||
),
|
||||
"token_count",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user