We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e85bc3e commit 46f7ca9Copy full SHA for 46f7ca9
src/invidious/yt_backend/youtube_api.cr
@@ -416,10 +416,9 @@ module YoutubeAPI
416
# Send the POST request
417
if {{ !flag?(:disable_quic) }} && CONFIG.use_quic
418
# Using QUIC client
419
- response = YT_POOL.client(client_config.proxy_region,
+ body = YT_POOL.client(client_config.proxy_region,
420
&.post(url, headers: headers, body: data.to_json)
421
- )
422
- body = response.body
+ ).body
423
else
424
# Using HTTP client
425
body = YT_POOL.client(client_config.proxy_region) do |client|
0 commit comments