Fix creation of push rules via POST API
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
Showing
Please register or sign in to comment