From 17d01b0cc65f5ae5a9f3b8a32d08872ed0342624 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 14 Jun 2024 15:43:06 +1000 Subject: [PATCH] fix: Forgot to use f string --- website/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/routes.py b/website/routes.py index 58915ce..a15ee6a 100644 --- a/website/routes.py +++ b/website/routes.py @@ -70,7 +70,7 @@ def home(): address='' if "address" in session: address = session["address"] - openseaInfo = requests.get("https://api.opensea.io/api/v2/chain/optimism/account/{address}/nfts?collection=handshake-slds", + openseaInfo = requests.get(f"https://api.opensea.io/api/v2/chain/optimism/account/{address}/nfts?collection=handshake-slds", headers={"Accept": "application/json", "x-api-key":openSeaAPIKey}) if openseaInfo.status_code == 200: