From ce0ce143ba74fdcc5d1cb4c6b09a41b2804cf0ab Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 5 Jan 2025 16:23:56 -0800 Subject: fix args --- api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/api.go') diff --git a/api/api.go b/api/api.go index cb5101b..3acc8b1 100644 --- a/api/api.go +++ b/api/api.go @@ -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() -- cgit v1.2.3-70-g09d2