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")) }