mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:26:30 +00:00
switch from hardware object to string
and replace mac address to disk serial number for more predictable hash key
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user