Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it not return http 400 when passing and empty source argument #12259

Merged
merged 6 commits into from
Nov 16, 2019
Merged

make it not return http 400 when passing and empty source argument #12259

merged 6 commits into from
Nov 16, 2019

Conversation

jglauche
Copy link
Contributor

I described my issue here:
#12257

@jglauche
Copy link
Contributor Author

I've added an rspec. Got confused at first at it as the empty hash gets ignored if you don't add as: :json
This added rspec fails before my patch and succeeds with my patch.

@jglauche
Copy link
Contributor Author

alright, the code quality bot wants me to use .blank? instead. There you go.

@Gargron Gargron merged commit fd93a9c into mastodon:master Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants