Merge pull request #1832 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
1 changed files with 1 additions and 1 deletions

View File

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