summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assistant/assistant.go2
1 files changed, 2 insertions, 0 deletions
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"))
}