switch from hardware object to string

and replace mac address to disk serial number
for more predictable hash key
This commit is contained in:
Alex Bezdieniezhnykh
2025-05-02 09:41:04 +03:00
parent 28069f63f9
commit 59eb39d447
7 changed files with 16 additions and 50 deletions
@@ -202,7 +202,7 @@ class Api:
payload = json.dumps(
{
"password": self.credentials.password,
"hardware": hardware.to_json_object(),
"hardware": hardware,
"fileName": filename
}, indent=4)
response = requests.post(url, data=payload, headers=headers, stream=True, timeout=20)