change quiz & question create default values

This commit is contained in:
nflnkr 2023-11-23 21:53:42 +03:00
parent b800cbf880
commit d8a1351268
2 changed files with 4 additions and 4 deletions

@ -66,8 +66,8 @@ export const questionApi = {
const defaultCreateQuestionBody: CreateQuestionRequest = {
"quiz_id": 0,
"title": "string",
"description": "string",
"title": "",
"description": "",
"type": "variant",
"required": true,
"page": 0,

@ -92,8 +92,8 @@ const defaultCreateQuizBody: CreateQuizRequest = {
"note_prevented": true,
"mail_notifications": false,
"unique_answers": true,
"name": "string",
"description": "string",
"name": "Название квиза",
"description": "",
"config": JSON.stringify(defaultQuizConfig),
"status": "stop",
"limit": 0,