From 27a8c3d1d1d534f8744e0397ff37e2cc25ec38c5 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Tue, 2 Jul 2024 19:14:30 +0400 Subject: [PATCH] fix: convert `ctx.Method() []byte` to string see similar commit 10d174f626 --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,