diff --git a/kdoorpi/__init__.py b/kdoorpi/__init__.py index 9c0e373..8b09303 100644 --- a/kdoorpi/__init__.py +++ b/kdoorpi/__init__.py @@ -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):