diff --git a/modules/rnetwork/mod.ts b/modules/rnetwork/mod.ts index c3674f3..de83cb8 100644 --- a/modules/rnetwork/mod.ts +++ b/modules/rnetwork/mod.ts @@ -34,7 +34,7 @@ function getTokenForSpace(space: string): string { async function twentyQuery(query: string, variables?: Record, space?: string) { const token = space ? getTokenForSpace(space) : TWENTY_DEFAULT_TOKEN; if (!token) return null; - const res = await fetch(`${TWENTY_API_URL}/api/graphql`, { + const res = await fetch(`${TWENTY_API_URL}/graphql`, { method: "POST", headers: { "Content-Type": "application/json",