For now also send normal card uid
This commit is contained in:
parent
b63fe150a0
commit
b0a6de4a49
@ -75,12 +75,12 @@ class Main:
|
||||
logging.info("Access card not in allow list, hash trail %s", uid_h[-10:])
|
||||
success = False
|
||||
data = {
|
||||
"uid": value,
|
||||
"uid_hash": uid_h,
|
||||
"door": self.door,
|
||||
"success": success,
|
||||
"timestamp": time.strftime("%Y-%m-%d %H:%M:%S")
|
||||
}
|
||||
print(data)
|
||||
requests.post(self.api_swipe, data=data, timeout=15)
|
||||
|
||||
def listen_notification(self):
|
||||
|
Reference in New Issue
Block a user