fix: alert mute add by service
This commit is contained in:
parent
54cc981956
commit
540ef68dc8
|
@ -39,7 +39,6 @@ func alertMuteAdd(c *gin.Context) {
|
||||||
func alertMuteAddByService(c *gin.Context) {
|
func alertMuteAddByService(c *gin.Context) {
|
||||||
var f models.AlertMute
|
var f models.AlertMute
|
||||||
ginx.BindJSON(c, &f)
|
ginx.BindJSON(c, &f)
|
||||||
f.GroupId = 0
|
|
||||||
|
|
||||||
ginx.NewRender(c).Message(f.Add())
|
ginx.NewRender(c).Message(f.Add())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue