changes to the Schüler id getting
Release Inventarsystem / release-docker (push) Successful in 2m18s

This commit is contained in:
2026-09-09 20:09:44 +02:00
parent 63a7b64150
commit b05d238a60
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -685,7 +685,7 @@ def student_card_exists(student_card_id):
client = MongoClient(cfg.MONGODB_HOST, cfg.MONGODB_PORT)
db = _get_tenant_db(client)
users = db['student_cards']
exists = users.find_one({'SchülerName': normalized}) is not None
exists = users.find_one({'AusweisId': normalized}) is not None
client.close()
return exists