fix typo.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
f75a6112c7
commit
f438873e51
|
@ -26,7 +26,7 @@ func pushHandler(c *gin.Context) {
|
|||
var msg string
|
||||
|
||||
if err := c.BindJSON(&form); err != nil {
|
||||
msg = "Missing nitifications field."
|
||||
msg = "Missing notifications field."
|
||||
LogAccess.Debug(msg)
|
||||
AbortWithError(c, http.StatusBadRequest, msg)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue