From 213bacaf051a5fb06eb32b429c3111a7aaec67ab Mon Sep 17 00:00:00 2001 From: Menci Date: Tue, 27 Dec 2016 15:04:26 +0800 Subject: [PATCH] Fix WA count * 3 --- models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }); } }