From 5e6c6f4b7c69dbf0cddd4450759d6eb374920147 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Thu, 10 Nov 2022 00:25:37 +0000 Subject: [PATCH] fix: remove traces of challenges ever existing --- common/src/lib/schemas.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/common/src/lib/schemas.ts b/common/src/lib/schemas.ts index 69331d9e5..ef25e4e25 100644 --- a/common/src/lib/schemas.ts +++ b/common/src/lib/schemas.ts @@ -1163,19 +1163,6 @@ const PRE_SCHEMAS = { }; break; } - - case "CHALLENGE_BEAT": { - subSchema = { - userID: p.isPositiveNonZeroInteger, - challenge: PR_CHALLENGE, - }; - break; - } - - case "CHALLENGE_RECEIVED": - subSchema = { - challenge: PR_CHALLENGE, - }; } const err = p(self, subSchema);