fix: Forgot to use f string
All checks were successful
Build Docker / Build Docker (push) Successful in 2m30s

This commit is contained in:
Nathan Woodburn 2024-06-14 15:43:06 +10:00
parent 7ea097f916
commit 17d01b0cc6
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -70,7 +70,7 @@ def home():
address='' address=''
if "address" in session: if "address" in session:
address = session["address"] 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", headers={"Accept": "application/json",
"x-api-key":openSeaAPIKey}) "x-api-key":openSeaAPIKey})
if openseaInfo.status_code == 200: if openseaInfo.status_code == 200: