fixing format

This commit is contained in:
Emilien 2024-12-30 22:19:45 +01:00
parent bfaf72b303
commit 84b87bedad

View File

@ -696,8 +696,8 @@ module YoutubeAPI
begin begin
invidious_companion = CONFIG.invidious_companion.sample invidious_companion = CONFIG.invidious_companion.sample
response = make_client(invidious_companion.private_url, use_http_proxy: false response = make_client(invidious_companion.private_url, use_http_proxy: false &.post(endpoint, headers: headers, body: data.to_json)
&.post(endpoint, headers: headers, body: data.to_json)) )
body = response.body body = response.body
if (response.status_code != 200) if (response.status_code != 200)
raise Exception.new( raise Exception.new(