Fix creating quiz with solution

This commit is contained in:
Eduard Kuzmenko 2021-05-10 01:45:40 +04:00
parent 2354734d4e
commit 7500e14f35

View File

@ -155,7 +155,7 @@ export class AppPollsManager {
poll,
correct_answers: correctAnswers,
solution,
solution_entities: solutionEntities?.length ? solutionEntities : undefined
solution_entities: solution ? solutionEntities : undefined
};
}