Update door names
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
2023-08-10 20:59:15 +03:00
parent f53d670189
commit 550136713b
2 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ def view_slack_doorboy():
return "Invalid channel was supplied"
command = request.form.get("command")
try:
door = {"/open-new-door": "back", "/open-back-door": "back", "/open-front-door": "front", "/open-ground-door": "ground"}[command]
door = {"/open-new-door": "backdoor", "/open-back-door": "backdoor", "/open-front-door": "frontdoor", "/open-ground-door": "grounddoor"}[command]
except KeyError:
return "Invalid command was supplied"