fix typo.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-04-10 15:15:54 +08:00
parent f75a6112c7
commit f438873e51
1 changed files with 1 additions and 1 deletions

View File

@ -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