Merge pull request #58 from dkhalife/bugfix/save-without-target

Bugfix: error when disabling push notifications
This commit is contained in:
Mohamad Tarbin 2025-01-06 18:59:59 -05:00 committed by GitHub
commit 50b1357dfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -507,7 +507,7 @@ func (h *Handler) UpdateNotificationTarget(c *gin.Context) {
type Request struct {
Type nModel.NotificationType `json:"type"`
Target string `json:"target" binding:"required"`
Target string `json:"target"`
}
var req Request