Fix missing commas

This commit is contained in:
absidue 2024-04-25 21:51:19 +02:00
parent 57e606cb43
commit 3b773c4f77
1 changed files with 2 additions and 2 deletions

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"