chore: fix
This commit is contained in:
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 {
|
||||
offset = v
|
||||
}
|
||||
|
||||
args = append(args, limit, offset)
|
||||
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
|
||||
rows, err := db.QueryContext(
|
||||
ctx,
|
||||
|
||||
Reference in New Issue
Block a user