aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/question.ts
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-01-04 02:25:55 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-01-04 04:02:21 +0300
commitce316baf3c5615122e3ab41ceedbc78137e86b48 (patch)
tree393091f55f93fc04b7f5d96f2e21665177187d1c /src/api/question.ts
parentMerge pull request #73 from python-discord/renovate/html-webpack-plugin-4.x (diff)
Updates Models
Changes the models to match the backend. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'src/api/question.ts')
-rw-r--r--src/api/question.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/question.ts b/src/api/question.ts
index 18951b9..9824b60 100644
--- a/src/api/question.ts
+++ b/src/api/question.ts
@@ -13,6 +13,6 @@ export interface Question {
id: string,
name: string,
type: QuestionType,
- data: { [key: string]: any },
+ data: { [key: string]: string | string[] },
required: boolean
}