fix: actually used correct session
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Hazel 2024-04-24 12:12:09 +02:00
parent cacff47643
commit c0ef24a28e

View File

@ -208,7 +208,7 @@ class Connection:
pass
self.lock = True
r: requests.Response = requests.request(method=method, url=url, timeout=timeout, headers=headers, **kwargs)
r: requests.Response = self.session.request(method=method, url=url, timeout=timeout, headers=headers, **kwargs)
if r.status_code in accepted_response_codes:
if not disable_cache: