diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-05-17 23:43:30 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-05-17 23:43:30 +0200 |
| commit | d2cd7f1b4c318ac8587ab3dc1dec4a44b6d592fe (patch) | |
| tree | 0b8c84560f661da92137d4f4fa59ed493ce2feab /src/lib/data/queries.ts | |
| parent | 0472e8073b9df492596e550fc79c42ca93ba14c0 (diff) | |
Start migration to supabase
Diffstat (limited to 'src/lib/data/queries.ts')
| -rw-r--r-- | src/lib/data/queries.ts | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/lib/data/queries.ts b/src/lib/data/queries.ts index 7364c0f..4def052 100644 --- a/src/lib/data/queries.ts +++ b/src/lib/data/queries.ts @@ -2,12 +2,16 @@ import { gql } from '@apollo/client/core'; export const GET_FORUMS = gql` query GetForums { - forums { - id - glyph - label - position - } + forumsCollection { + edges { + node { + id + glyph + label + position + } + } + } } `; |