Skip to content

Commit

Permalink
Fix missing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue committed May 14, 2024
1 parent 57e606c commit 3b773c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/invidious/jsonify/api_v1/video_json.cr
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module Invidious::JSONify::APIv1

if height && width
json.field "size", "#{width}x#{height}"
json.field "resolution" "#{height}p"
json.field "resolution", "#{height}p"

quality_label = "#{width > height ? height : width}p"

Expand Down Expand Up @@ -180,7 +180,7 @@ module Invidious::JSONify::APIv1

if height && width
json.field "size", "#{width}x#{height}"
json.field "resolution" "#{height}p"
json.field "resolution", "#{height}p"

quality_label = "#{width > height ? height : width}p"

Expand Down

0 comments on commit 3b773c4

Please sign in to comment.