diff --git a/src/http/stream.ts b/src/http/stream.ts index f21e4d0..e693688 100644 --- a/src/http/stream.ts +++ b/src/http/stream.ts @@ -225,7 +225,7 @@ export class HttpStream extends Stream implements SqlOwner { headers.set("authorization", `Bearer ${this.#jwt}`); } - return new Request(url, { + return new Request(url.toString(), { method: "POST", headers, body: JSON.stringify(requestBody),