Skip to content

Fix creation of push rules via POST API

Stan Hu requested to merge sh-fix-post-push-rule into master

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 (closed)

Merge request reports