generated from PenaSide/GolangTemplate
fix returning ok and nil in sendreport controller
This commit is contained in:
parent
9b8a733561
commit
4bd16862d2
@ -104,5 +104,5 @@ func (receiver *Controller) SendReport(ctx echo.Context) error {
|
||||
return errors.HTTP(ctx, err)
|
||||
}
|
||||
|
||||
return ctx.JSON(http.StatusOK, nil)
|
||||
return ctx.NoContent(http.StatusOK)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user