get delete messages to work

This commit is contained in:
Cubicroot 2021-06-06 21:13:07 +02:00
parent b392ea1b44
commit eebc7f7e31
7 changed files with 103 additions and 18 deletions

View file

@ -7,6 +7,7 @@ import (
// Notification holds information like the message, the title, and the priority of a notification.
type Notification struct {
ID string `json:"id"`
UrlEncodedID string `json:"id_url_encoded"`
ApplicationID uint `json:"appid"`
Message string `json:"message" form:"message" query:"message" binding:"required"`
Title string `json:"title" form:"title" query:"title"`