From 84b87bedadbd4d35190b1f4d6b3e4fc1abf2440a Mon Sep 17 00:00:00 2001 From: Emilien <4016501+unixfox@users.noreply.github.com> Date: Mon, 30 Dec 2024 22:19:45 +0100 Subject: [PATCH] fixing format --- src/invidious/yt_backend/youtube_api.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invidious/yt_backend/youtube_api.cr b/src/invidious/yt_backend/youtube_api.cr index 54a0f5f4a..766dbf352 100644 --- a/src/invidious/yt_backend/youtube_api.cr +++ b/src/invidious/yt_backend/youtube_api.cr @@ -696,8 +696,8 @@ module YoutubeAPI begin invidious_companion = CONFIG.invidious_companion.sample - response = make_client(invidious_companion.private_url, use_http_proxy: false - &.post(endpoint, headers: headers, body: data.to_json)) + response = make_client(invidious_companion.private_url, use_http_proxy: false &.post(endpoint, headers: headers, body: data.to_json) + ) body = response.body if (response.status_code != 200) raise Exception.new(