diff --git a/http.go b/http.go index 19938b6..1a2a236 100644 --- a/http.go +++ b/http.go @@ -127,7 +127,7 @@ func httpServer(c *console, app *appState) error { if v, ok := strconv.Atoi(r.URL.Query().Get("offset")); ok == nil { offset = v } - + args = append(args, limit, offset) w.Header().Set("Content-Type", "text/plain; charset=utf-8") rows, err := db.QueryContext( ctx,