Update API

This commit is contained in:
AndrewTrieu
2023-03-13 12:49:37 +02:00
parent 663e11cf01
commit 061b8c5179

View File

@@ -21,7 +21,7 @@ const getRandQuestion = async ({ response }) => {
const responseQuestion = {
questionId: questionId,
questionText: randQuestion.question_text,
answeroptions: optionsData,
answerOptions: optionsData,
};
response.body = responseQuestion;
}