diff --git a/models/user.js b/models/user.js index f366cdb..2f3e774 100644 --- a/models/user.js +++ b/models/user.js @@ -167,7 +167,7 @@ class User extends Model { res[status] += await JudgeState.count({ user_id: this.id, type: 0, - status: status + status: s }); } }