fix: Typo with old varo creds
This commit is contained in:
parent
30a501911f
commit
52e43cf073
@ -114,9 +114,9 @@ def addDomain(params, authentication):
|
||||
auth = json.load(f)
|
||||
if not auth:
|
||||
return {"status": "Missing Varo API or instance"}
|
||||
if 'api' not in auth or 'instance' not in auth:
|
||||
if 'key' not in auth or 'instance' not in auth:
|
||||
return {"status": "Missing Varo API or instance"}
|
||||
api = auth["api"]
|
||||
api = auth["key"]
|
||||
instance = auth["instance"]
|
||||
|
||||
headers = {"Authorization": f"Bearer {api}"}
|
||||
|
Loading…
Reference in New Issue
Block a user