hotfix loging logic
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
ffa61f2ed1
commit
f1cb8e6cfe
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user