@@ -26,7 +26,7 @@ func pushHandler(c *gin.Context) {
|
|||||||
var msg string
|
var msg string
|
||||||
|
|
||||||
if err := c.BindJSON(&form); err != nil {
|
if err := c.BindJSON(&form); err != nil {
|
||||||
msg = "Missing nitifications field."
|
msg = "Missing notifications field."
|
||||||
LogAccess.Debug(msg)
|
LogAccess.Debug(msg)
|
||||||
AbortWithError(c, http.StatusBadRequest, msg)
|
AbortWithError(c, http.StatusBadRequest, msg)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user