remove debug message.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-04-08 19:34:18 +08:00
parent b71b427786
commit a6f0de8029
1 changed files with 0 additions and 2 deletions

View File

@ -3,7 +3,6 @@ package gopush
import (
api "github.com/appleboy/gin-status-api"
"github.com/gin-gonic/gin"
"log"
"net/http"
)
@ -25,7 +24,6 @@ func pushHandler(c *gin.Context) {
var form RequestPushNotification
if err := c.BindJSON(&form); err != nil {
log.Println(err)
AbortWithError(c, http.StatusBadRequest, "Bad input request, please refer to README guide.")
return
}