Update API
This commit is contained in:
@@ -21,7 +21,7 @@ const getRandQuestion = async ({ response }) => {
|
|||||||
const responseQuestion = {
|
const responseQuestion = {
|
||||||
questionId: questionId,
|
questionId: questionId,
|
||||||
questionText: randQuestion.question_text,
|
questionText: randQuestion.question_text,
|
||||||
answeroptions: optionsData,
|
answerOptions: optionsData,
|
||||||
};
|
};
|
||||||
response.body = responseQuestion;
|
response.body = responseQuestion;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user