The [**`UpdateRoleBody`**](https://github.com/Tech-With-Tim/API/blob/261ecd34648d610169caf27b3712256f757b100d/api/versions/v1/routers/roles/models.py#L23) and [**`NewRoleBody`**](https://github.com/Tech-With-Tim/API/blob/261ecd34648d610169caf27b3712256f757b100d/api/versions/v1/routers/roles/models.py#L17) have some issues and need some updates, here are the needed updates: 1. The `UpdateRoleBody.name` has a `max_length` of **64** instead of the **32** in `NewRoleBody.name`. https://github.com/Tech-With-Tim/API/blob/261ecd34648d610169caf27b3712256f757b100d/api/versions/v1/routers/roles/models.py#L24 2. The `NewRoleBody.color` and `UpdateRoleBody.color` could use a [**`pydantic.Color`**](https://pydantic-docs.helpmanual.io/usage/types/#color-type) field instead of the current `int` field. https://github.com/Tech-With-Tim/API/blob/261ecd34648d610169caf27b3712256f757b100d/api/versions/v1/routers/roles/models.py#L19 https://github.com/Tech-With-Tim/API/blob/261ecd34648d610169caf27b3712256f757b100d/api/versions/v1/routers/roles/models.py#L25
Activity
Resolved Issue Tech-With-Tim#61