Skip to content

Commit

Permalink
Fix: Typo. Balance some brackets. (#2068)
Browse files Browse the repository at this point in the history
  • Loading branch information
saitheninja authored Mar 28, 2024
1 parent a7e27c5 commit 6b3e3da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docusaurus/docs/dev-docs/api/rest/relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ As `set` replaces all existing relations, it should not be used in combination w
:::note Omitting set
Omitting any parameter is equivalent to using `set`.<br/>For instance, the following 3 syntaxes are all equivalent:

- `data: { categories: set: [{ id: 2 }, { id: 4 }] }}`
- `data: { categories: set: [2, 4] }}`
- `data: { categories: { set: [{ id: 2 }, { id: 4 }] }}`
- `data: { categories: { set: [2, 4] }}`
- `data: { categories: [2, 4] }` (as used in the [REST API documentation](/dev-docs/api/rest#update-an-entry))

:::
Expand Down

0 comments on commit 6b3e3da

Please sign in to comment.