diff --git a/server.go b/server.go index fd53a9d..9e06a5d 100644 --- a/server.go +++ b/server.go @@ -58,7 +58,7 @@ func handler(ctx *fasthttp.RequestCtx) { ) row := stmt.QueryRow( - ctx.Method(), + string(ctx.Method()), fmt.Sprintf( "%s://%s:%s%s", scheme,