Fix missing commas

This commit is contained in:
absidue 2024-04-25 21:51:19 +02:00
parent 57e606cb43
commit 3b773c4f77

View file

@ -125,7 +125,7 @@ module Invidious::JSONify::APIv1
if height && width if height && width
json.field "size", "#{width}x#{height}" json.field "size", "#{width}x#{height}"
json.field "resolution" "#{height}p" json.field "resolution", "#{height}p"
quality_label = "#{width > height ? height : width}p" quality_label = "#{width > height ? height : width}p"
@ -180,7 +180,7 @@ module Invidious::JSONify::APIv1
if height && width if height && width
json.field "size", "#{width}x#{height}" json.field "size", "#{width}x#{height}"
json.field "resolution" "#{height}p" json.field "resolution", "#{height}p"
quality_label = "#{width > height ? height : width}p" quality_label = "#{width > height ? height : width}p"