mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Valid question checking bug fix
This commit is contained in:
@@ -272,7 +272,7 @@ function isQuestionValid(question: Question) {
|
||||
if (!question.Q) {
|
||||
return false
|
||||
}
|
||||
if (!question.Q && question.data.type !== 'image') {
|
||||
if (!question.A && question.data.type === 'simple') {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
Reference in New Issue
Block a user