From 910e662aad9a9fd8fde90af921808c87280d9b76 Mon Sep 17 00:00:00 2001 From: Vlad0n20 Date: Thu, 24 Oct 2024 17:57:27 +0300 Subject: [PATCH] Fix merge conflicts --- addon_service/oauth2/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addon_service/oauth2/utils.py b/addon_service/oauth2/utils.py index fa8fe74d..a1608fb5 100644 --- a/addon_service/oauth2/utils.py +++ b/addon_service/oauth2/utils.py @@ -1,4 +1,5 @@ import dataclasses +import urllib.parse from http import HTTPStatus from secrets import token_urlsafe from typing import Iterable @@ -114,8 +115,6 @@ async def get_refreshed_access_token( async def _token_request( token_endpoint_url: str, request_body: dict[str, str] ) -> FreshTokenResult: - import urllib.parse - _client = await get_singleton_client_session() async with _client.post(token_endpoint_url, data=request_body) as _token_response: if _token_response.content_type == "application/x-www-form-urlencoded":