diff --git a/src/invidious.cr b/src/invidious.cr index ddc9b1b0..dd36dfeb 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2197,7 +2197,7 @@ get "/api/v1/insights/:id" do |env| "shares" => shares, "avgViewDurationSeconds" => avg_view_duration_seconds, "graphData" => graph_data, - }.to_pretty_json + }.to_json end get "/api/v1/videos/:id" do |env|