1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-24 23:09:24 -05:00

Merge pull request from mark9064/patch-1

Fix engagement
This commit is contained in:
TheFrenchGhosty 2021-03-05 01:00:42 +01:00 committed by GitHub
commit 790167e914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -764,7 +764,7 @@ struct Video
end
def engagement : Float64
((likes + dislikes) / views).round(4)
(((likes + dislikes) / views) * 100).round(4)
end
def reason : String?