Fix the missing `p` in the quality labels.

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
absidue 2024-04-21 14:58:12 +02:00
parent 71a821a7e6
commit f57aac5815
1 changed files with 2 additions and 2 deletions

View File

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