binoua commited on
Commit
a59f4d1
1 Parent(s): 78898ff

chore: using a database for keys

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -59,7 +59,7 @@ class EndpointHandler:
59
  # BCM
60
  uid = 42
61
 
62
- assert uid in self.key_database.keys(), f"{uid} not in DB"
63
 
64
  # Get inputs
65
  encrypted_inputs = from_json(data.pop("encrypted_inputs", data))
 
59
  # BCM
60
  uid = 42
61
 
62
+ assert uid in self.key_database.keys(), f"{uid} not in DB, {self.key_database.keys()=}"
63
 
64
  # Get inputs
65
  encrypted_inputs = from_json(data.pop("encrypted_inputs", data))