From c42a0906667b4a3d78020b02ff831c403e36349f Mon Sep 17 00:00:00 2001 From: kodemon Date: Fri, 25 Apr 2025 18:44:35 +0000 Subject: [PATCH] feat: add any response to adapter fetch --- adapters/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/http.ts b/adapters/http.ts index f1e9d02..07d7e85 100644 --- a/adapters/http.ts +++ b/adapters/http.ts @@ -33,7 +33,7 @@ export class HttpAdapter implements RelayAdapter { return json; } - async fetch({ method, url, query, body }: RelayRESTInput) { + async fetch({ method, url, query, body }: RelayRESTInput): Promise { const res = await fetch(`${url}${query}`, { method, headers: { "x-relay-type": "rest", "content-type": "application/json" },