Update routes, add gitignore

This commit is contained in:
AndrewTrieu
2023-03-10 13:17:28 +02:00
parent 7a76d625e2
commit b470a1171d
3 changed files with 47 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ const getRandQuestion = async ({ params, response }) => {
}
};
const listQuizTopic = async ({ render }) => {
const listQuizTopics = async ({ render }) => {
render("quizTopic.eta", {
allTopics: await topicService.getAllTopics(),
});
@@ -121,7 +121,7 @@ export {
deleteQuestion,
listQuiz,
getRandQuestion,
listQuizTopic,
listQuizTopics,
storeAnswer,
showCorrect,
showIncorrect,