Skip to content

Commit

Permalink
Merge pull request #213 from JereMiO/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Intevel authored Oct 24, 2023
2 parents 201b0cd + e413153 commit bfa49b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/2.composables/6.useDirectusCollections.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ Retrieve a specific collection by [`name`](https://docs.directus.io/reference/sy

```vue [pages/collections.vue]
<script setup>
const { getCollections } = useDirectusCollections();
const { getCollection } = useDirectusCollections();
const router = useRouter();
const fetchCollection = async () => {
const collectionParams = { collection: "Page" };
const collection = await getCollections(collectionParams);
const collection = await getCollection(collectionParams);
};
</script>
```
Expand Down

1 comment on commit bfa49b9

@vercel
Copy link

@vercel vercel bot commented on bfa49b9 Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.