fix: Use correct creds

This commit is contained in:
Nathan Woodburn 2025-03-07 14:51:24 +11:00
parent 65f0631a26
commit 30a501911f
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -110,7 +110,7 @@ def addDomain(params, authentication):
if not os.path.exists("user_data/hnslinks.json"):
return {"status": "Missing Varo API or instance"}
with open("user_data/varo.json", "r") as f:
with open("user_data/hnslinks.json", "r") as f:
auth = json.load(f)
if not auth:
return {"status": "Missing Varo API or instance"}