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:
parent
002865ed4a
commit
c6546a5b18
1 changed files with 3 additions and 1 deletions
|
@ -221,8 +221,10 @@ function compareImage(data: QuestionData, data2: QuestionData) {
|
|||
data.hashedImages.join(' '),
|
||||
data.hashedImages.join(' ')
|
||||
)
|
||||
} else {
|
||||
} else if (data.images && data2.images) {
|
||||
return compareString(data.images.join(' '), data2.images.join(' ')) - 10
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue