chore: fix

This commit is contained in:
xuu 2025-03-26 19:03:20 -06:00
parent a0614435ff
commit 22d77d6aef
Signed by: xuu
GPG Key ID: 8B3B0604F164E04F

View File

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