Skip to content
  • Vasilii Iakliushin's avatar
    Fix ArgumentError in ProjectApprovalRules API · e2d0c77b
    Vasilii Iakliushin authored
    Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/455241
    
    **Problem**
    
    REST API is missing the validaton for the list of allowed `report_type`
    values. When a user provides an unsupported value, the application
    returns a 500 error.
    
    **Solution**
    
    Use `values` to restrict the list of allowed values.
    
    Changelog: fixed
    EE: true
    e2d0c77b