diff options
Diffstat (limited to 'api/api.go')
-rw-r--r-- | api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ func MakeMux(argv *args.Arguments, dbConn *sql.DB) *http.ServeMux { }) httpsms := messaging.HttpSmsContinuation(os.Getenv("HTTPSMS_API_TOKEN"), os.Getenv("FROM_PHONE_NUMBER"), os.Getenv("TO_PHONE_NUMBER"), argv.HttpSmsEndpoint) - ntfy := messaging.SendNtfy(argv.NtfyTopic, argv.NtfyEndpoint) + ntfy := messaging.SendNtfy(argv.NtfyEndpoint) sendMessageContinuation := chat.SendMessageContinuation(messaging.Compose(ntfy, httpsms)) mux.HandleFunc("POST /chat", func(w http.ResponseWriter, r *http.Request) { requestContext := makeRequestContext() |