unable to save to None without this
This commit is contained in:
parent
dd93580f89
commit
ad5678d02d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue