tango-app-api-task 3.2.1-hotfix-4 → 3.2.1-hotfix-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3576,6 +3576,7 @@ export async function taskcreation( req, res ) {
|
|
|
3576
3576
|
}
|
|
3577
3577
|
if ( inputBody?.answerType === 'multiplechoicesingle' || inputBody?.answerType === 'multiplechoicemultiple' ) {
|
|
3578
3578
|
if ( inputBody?.options && inputBody?.options.length > 1 ) {
|
|
3579
|
+
let optionsResult = []
|
|
3579
3580
|
for ( let option of inputBody?.options ) {
|
|
3580
3581
|
let optiondata = {
|
|
3581
3582
|
'answer': '',
|