From 8380ef2db173207339e6c8aec49c2ab61fb1e1c5 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 13 Jan 2025 22:15:21 -0800 Subject: [PATCH] log commands --- assistant/assistant.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assistant/assistant.go b/assistant/assistant.go index 00db82c..cf0a2a9 100644 --- a/assistant/assistant.go +++ b/assistant/assistant.go @@ -2,6 +2,7 @@ package assistant import ( "fmt" + "log" "net/http" "os" ) @@ -15,6 +16,7 @@ func UnlockDoor(webhook string) error { } func Do(command string) error { + log.Println("handling coomand", command) if command == "unlock" { return UnlockDoor(os.Getenv("UNLOCK_DOOR_WEBHOOK")) }