Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: application settings marshalling
What --- Update `Settings.PerformanceBarAllowedGroupID` to be an `int` instead `string` Why --- The API returns an int because it's a group ID: ``` curl -s --header "PRIVATE-TOKEN: TOKEN" "https://gitlab.example.com/api/v4/application/settings" | jq -r '.performance_bar_allowed_group_id' 1234 ``` The [documentation](https://gitlab.com/gitlab-org/gitlab/-/blob/784401ac8b5bf5ae3056cc84a95fb2be37c83934/doc/api/settings.md#L92) specifies that it's an `int`, and it's also stored as an int in the [database](https://gitlab.com/gitlab-org/gitlab/-/blob/784401ac8b5bf5ae3056cc84a95fb2be37c83934/db/structure.sql#L11472). Signed-off-by: Steve Xuereb <sxuereb@gitlab.com>
- Loading branch information