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

Fix muting users with duration via the REST api #15516

Merged
merged 1 commit into from Jan 10, 2021

Conversation

Tak
Copy link
Contributor

@Tak Tak commented Jan 8, 2021

Previous behavior: HTTP 500 resulting from:

     NoMethodError:
       undefined method `zero?' for "300":String
     # ./app/models/concerns/account_interactions.rb:137:in `mute!'
     # ./app/services/mute_service.rb:7:in `call'
     # ./app/controllers/api/v1/accounts_controller.rb:45:in `mute'

@Gargron Gargron merged commit 11d6031 into mastodon:master Jan 10, 2021
ClearlyClaire pushed a commit to ClearlyClaire/mastodon that referenced this pull request Jan 28, 2022
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.

None yet

3 participants