mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Image comparing fix
This commit is contained in:
@@ -221,8 +221,10 @@ function compareImage(data: QuestionData, data2: QuestionData) {
|
|||||||
data.hashedImages.join(' '),
|
data.hashedImages.join(' '),
|
||||||
data.hashedImages.join(' ')
|
data.hashedImages.join(' ')
|
||||||
)
|
)
|
||||||
} else {
|
} else if (data.images && data2.images) {
|
||||||
return compareString(data.images.join(' '), data2.images.join(' ')) - 10
|
return compareString(data.images.join(' '), data2.images.join(' ')) - 10
|
||||||
|
} else {
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user