fix returning ok and nil in sendreport controller

This commit is contained in:
pasha1coil 2023-11-27 12:10:13 +03:00
parent 9b8a733561
commit 4bd16862d2

@ -104,5 +104,5 @@ func (receiver *Controller) SendReport(ctx echo.Context) error {
return errors.HTTP(ctx, err) return errors.HTTP(ctx, err)
} }
return ctx.JSON(http.StatusOK, nil) return ctx.NoContent(http.StatusOK)
} }