Work
| Date | |
|---|---|
| Hours | 3.1 |
- Working on GIN-2 to parse the different correct answers and update display for user
- Chatting to Charles RE GIN-2
- Messaged Paul RE backend API changes that need to occur due to multiple answers in quiz questions
Hey <@1149683473167167530>, <@721727960331059312> has added some quiz questions into the
Welcome Modulethat are Multiple Answer Questions (MAQs)I inspected the API and in the case where there should be 2 correct answers, only one is marked as correct. I had a look at the admin panel and can see the UI forces that.
I tried to manually send the request to the API to allow multiple correct answers and it did not update
"question":{ "uuid":"84bd8e4a-6c95-4f9c-bea7-75bedc904482", "answers":[ { "uuid":"dbba95e5-22d5-427f-941a-088337259989", "correct":false, "answer":"<p>Option 3</p>" }, { "uuid":"de2e053a-3067-4a5e-84cf-8aa79b04ebd2", "correct":true, "answer":"<p>Option 4</p>" } ] }, "moduleUuid":"3ecf1793-c260-495a-8b38-77cf3046685a", "jurisdictionUuid":"14958840-1e84-4668-8269-8ea7ee30782b" }This is the current payload that is sent from the FE Admin panel Do some backend changes need to occur to allow multiple answers? At the moment, I'm blocked progressing on iOS as only 1 answer comes back as correct