GitHub API call fails with “expected map type under “required_status_checks”, got []interface {}”
I am trying to set up branch protection for a new repository on GitHub through the API (https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28#update-branch-protection). When trying it with gh cli I get the error message “expected map type under “required_status_checks”, got []interface {}” My command looks like this