feat: update docs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { RequestInput } from "../libraries/relay.ts";
|
||||
import { RelayAdapter } from "../mod.ts";
|
||||
|
||||
export const http: RelayAdapter = {
|
||||
export const adapter: RelayAdapter = {
|
||||
async fetch({ method, url, search, body }: RequestInput) {
|
||||
const res = await fetch(`${url}${search}`, { method, headers: { "content-type": "application/json" }, body });
|
||||
const data = await res.text();
|
||||
|
||||
Reference in New Issue
Block a user