Implemented reminder

This commit is contained in:
Magnus Åhall 2024-03-30 17:43:21 +01:00
parent d89d63803f
commit c352176417
3 changed files with 48 additions and 27 deletions

View file

@ -44,6 +44,8 @@ func (ntfy NTFY) Send(uuid string, msg []byte) (err error) {
ackURL := fmt.Sprintf("http, OK, %s/notification/ack?uuid=%s", ntfy.AcknowledgeURL, uuid)
req.Header.Add("X-Actions", ackURL)
req.Header.Add("X-Priority", "5")
req.Header.Add("X-Tags", "calendar")
res, err = http.DefaultClient.Do(req)
if err != nil {