mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-01 02:56:06 -04:00
fixing format
This commit is contained in:
parent
8f441a6b4e
commit
dcf1fb6f51
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue