diff --git a/internal/user/handler.go b/internal/user/handler.go index 0650bab..ed8a0b1 100644 --- a/internal/user/handler.go +++ b/internal/user/handler.go @@ -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