remove debug message.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
b71b427786
commit
a6f0de8029
|
@ -3,7 +3,6 @@ package gopush
|
||||||
import (
|
import (
|
||||||
api "github.com/appleboy/gin-status-api"
|
api "github.com/appleboy/gin-status-api"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -25,7 +24,6 @@ func pushHandler(c *gin.Context) {
|
||||||
var form RequestPushNotification
|
var form RequestPushNotification
|
||||||
|
|
||||||
if err := c.BindJSON(&form); err != nil {
|
if err := c.BindJSON(&form); err != nil {
|
||||||
log.Println(err)
|
|
||||||
AbortWithError(c, http.StatusBadRequest, "Bad input request, please refer to README guide.")
|
AbortWithError(c, http.StatusBadRequest, "Bad input request, please refer to README guide.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue