diff options
Diffstat (limited to 'pkg/handler/quote.go')
-rw-r--r-- | pkg/handler/quote.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/handler/quote.go b/pkg/handler/quote.go index af9fd82..2a5f7e6 100644 --- a/pkg/handler/quote.go +++ b/pkg/handler/quote.go @@ -12,7 +12,7 @@ func (h *Handler) Quote(c echo.Context) error { sid := c.Param("id") id, err := strconv.Atoi(sid) if err != nil { - return err + return echo.ErrNotFound } quote := new(model.Quote) |