From 2345b81350eac3ea608fbe8639b8a362ce0af232 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Fri, 3 Jun 2022 11:43:35 +0300 Subject: [PATCH] feat: support "discussion" metaculus type --- src/backend/platforms/metaculus/api.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/backend/platforms/metaculus/api.ts b/src/backend/platforms/metaculus/api.ts index 1d15a83..e12de17 100644 --- a/src/backend/platforms/metaculus/api.ts +++ b/src/backend/platforms/metaculus/api.ts @@ -131,6 +131,12 @@ const apiQuestionSchema = { }, additionalProperties: true, }, + discussion: { + optionalProperties: { + ...optionalPageProps, + }, + additionalProperties: true, + }, }, } as const;