change quiz & question create default values
This commit is contained in:
parent
b800cbf880
commit
d8a1351268
@ -66,8 +66,8 @@ export const questionApi = {
|
|||||||
|
|
||||||
const defaultCreateQuestionBody: CreateQuestionRequest = {
|
const defaultCreateQuestionBody: CreateQuestionRequest = {
|
||||||
"quiz_id": 0,
|
"quiz_id": 0,
|
||||||
"title": "string",
|
"title": "",
|
||||||
"description": "string",
|
"description": "",
|
||||||
"type": "variant",
|
"type": "variant",
|
||||||
"required": true,
|
"required": true,
|
||||||
"page": 0,
|
"page": 0,
|
||||||
|
|||||||
@ -92,8 +92,8 @@ const defaultCreateQuizBody: CreateQuizRequest = {
|
|||||||
"note_prevented": true,
|
"note_prevented": true,
|
||||||
"mail_notifications": false,
|
"mail_notifications": false,
|
||||||
"unique_answers": true,
|
"unique_answers": true,
|
||||||
"name": "string",
|
"name": "Название квиза",
|
||||||
"description": "string",
|
"description": "",
|
||||||
"config": JSON.stringify(defaultQuizConfig),
|
"config": JSON.stringify(defaultQuizConfig),
|
||||||
"status": "stop",
|
"status": "stop",
|
||||||
"limit": 0,
|
"limit": 0,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user