This commit is contained in:
张成
2026-04-01 10:46:19 +08:00
parent 433077f08a
commit c2205188d1
5 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,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",
],