]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/data/queries.ts
Start migration to supabase
[rbdr/forum] / src / lib / data / queries.ts
index 7364c0f1dd7e0095d24b4f4cf47e7bb8c64e2287..4def052b71dabb20710483becb76d2b430a7a76a 100644 (file)
@@ -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
+        }
+      }
+    }
        }
 `;