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" },