chore: fix
This commit is contained in:
parent
a0614435ff
commit
22d77d6aef
2
http.go
2
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 {
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user