hotfix loging logic
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
rasmus 2023-08-17 22:32:07 +03:00
parent ffa61f2ed1
commit f1cb8e6cfe

View File

@ -95,14 +95,14 @@ def view_slack_doorboy():
if door == "outsidedoors":
doors = ["backdoor", "frontdoor", "grounddoor"]
for door in doors:
for d in doors:
db.eventlog.insert_one({
"method": "slack",
"approved": approved,
"duration": 5,
"component": "doorboy",
"type": "open-door",
"door": door,
"door": d,
"member_id": member.username,
"member": member.display_name,
"timestamp": datetime.utcnow(),