bug: fix auradine web api token format.

This commit is contained in:
b-rowan
2024-01-24 17:45:42 -07:00
parent 90fb67f586
commit 4b36044e56

View File

@@ -38,7 +38,7 @@ class FluxWebAPI(BaseWebAPI):
try: try:
auth = await client.post( auth = await client.post(
f"http://{self.ip}:{self.port}/token", f"http://{self.ip}:{self.port}/token",
data={ json={
"command": "token", "command": "token",
"user": self.username, "user": self.username,
"password": self.pwd, "password": self.pwd,