• Stan Hu's avatar
    Fix creation of push rules via POST API · 86ed8b3d
    Stan Hu authored
    If the `max_file_size` parameter were not specified, Grape would
    default that value to `nil`, which prevents the model from being
    validated and saved. As a result, users would see a JSON response
    that had an `id` of `nil`, and the push rule was never created.
    
    Closes #2820
    86ed8b3d
sh-fix-post-push-rule.yml 74 Bytes