Skip to content

Commit 7e4df7c

Browse files
authored
Fix space parameter in docs (#315)
1 parent 86d8628 commit 7e4df7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/query-public-data.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ For deeper relations you can use the `include` parameter multiple levels deep. C
2828

2929
### Querying from a specific space
3030

31-
You can also query from a specific space by passing in the `spaceId` parameter.
31+
You can also query from a specific space by passing in the `space` parameter.
3232

3333
```ts
34-
const { data: spaceAData } = useQuery(Event, { mode: 'public', spaceId: 'space-a-id' });
35-
const { data: spaceBData } = useQuery(Event, { mode: 'public', spaceId: 'space-b-id' });
34+
const { data: spaceAData } = useQuery(Event, { mode: 'public', space: 'space-a-id' });
35+
const { data: spaceBData } = useQuery(Event, { mode: 'public', space: 'space-b-id' });
3636
```
3737

3838
### Filtering (not yet supported)

0 commit comments

Comments
 (0)