Merge pull request #58 from dkhalife/bugfix/save-without-target
Bugfix: error when disabling push notifications
This commit is contained in:
commit
50b1357dfa
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ func (h *Handler) UpdateNotificationTarget(c *gin.Context) {
|
||||||
|
|
||||||
type Request struct {
|
type Request struct {
|
||||||
Type nModel.NotificationType `json:"type"`
|
Type nModel.NotificationType `json:"type"`
|
||||||
Target string `json:"target" binding:"required"`
|
Target string `json:"target"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var req Request
|
var req Request
|
||||||
|
|
Loading…
Add table
Reference in a new issue