From 78850649e815fb28c6eba9e8dd609428c8320c52 Mon Sep 17 00:00:00 2001 From: ciatph Date: Fri, 8 Apr 2022 00:24:14 +0800 Subject: [PATCH] String type-checking fix. --- server/src/utils/constants.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/utils/constants.js b/server/src/utils/constants.js index 9dce5d1..fd6d611 100644 --- a/server/src/utils/constants.js +++ b/server/src/utils/constants.js @@ -1,6 +1,6 @@ const ACCOUNT_LEVEL = { - SUPERADMIN: 1, - ADMIN: 2 + SUPERADMIN: '1', + ADMIN: '2' } module.exports = {