Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: update graphql query in apis doc to match the generated api

Alaister Youngef8bd1e98272
diff --git a/web/docs/guides/api.mdx b/web/docs/guides/api.mdx
index f86d77fe73f..592d09513f6 100644
--- a/web/docs/guides/api.mdx
+++ b/web/docs/guides/api.mdx
@@ -275,9 +275,13 @@ const client = createClient({
// Prepare our GraphQL query
const TodosQuery = `
query {
- todos {
- id
- title
+ todosCollection {
+ edges {
+ node {
+ id
+ title
+ }
+ }
}
}
`