mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
docs(api): 🐛 Fix incorrect Role API docs
This commit is contained in:
parent
594e8ca4e6
commit
caa071d353
|
|
@ -406,7 +406,7 @@ Update a role's data.
|
|||
|
||||
### Request
|
||||
|
||||
- `name` (string, required): The name of the role.
|
||||
- `name` (string, optional): The name of the role.
|
||||
- 1-128 characters.
|
||||
- `permissions` (array of strings, optional): The permissions granted by the role. Defaults to an empty array.
|
||||
- `priority` (number, optional): The priority of the role. Defaults to `0`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue