fix: Use correct creds
This commit is contained in:
parent
65f0631a26
commit
30a501911f
@ -110,7 +110,7 @@ def addDomain(params, authentication):
|
|||||||
if not os.path.exists("user_data/hnslinks.json"):
|
if not os.path.exists("user_data/hnslinks.json"):
|
||||||
return {"status": "Missing Varo API or instance"}
|
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)
|
auth = json.load(f)
|
||||||
if not auth:
|
if not auth:
|
||||||
return {"status": "Missing Varo API or instance"}
|
return {"status": "Missing Varo API or instance"}
|
||||||
|
Loading…
Reference in New Issue
Block a user