Commit 59f2d17

benny-dou <60535774+benny-dou@users.noreply.github.com>
2025-09-02 07:13:03
fix(kv): remove unused variable
1 parent 56fe133
Changed files (1)
src
database
src/database/kv.py
@@ -24,7 +24,6 @@ async def get_cf_kv(
     key = quote_plus(unquote_plus(key))
     api = f"https://api.cloudflare.com/client/v4/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key}"
     headers = {"authorization": f"Bearer {api_token}", "content-type": "application/json"}
-    resp = await hx_req(api, headers=headers, timeout=30, silent=True)
     async with AsyncClient(http2=True, follow_redirects=True, transport=AsyncHTTPTransport(retries=3, http2=True)) as hx:
         try:
             resp = await hx.get(api, headers=headers, timeout=30)