mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 22:41:29 +00:00
Fixed a typo that was breaking the account mute API endpoint
This commit is contained in:
parent
d880b3182b
commit
79d8911116
|
@ -33,7 +33,7 @@ class Api::V1::AccountsController < Api::BaseController
|
|||
end
|
||||
|
||||
def mute
|
||||
MuteService.new.call(current_user.account, @account, notifications: params(:notifications))
|
||||
MuteService.new.call(current_user.account, @account, notifications: params[:notifications])
|
||||
render json: @account, serializer: REST::RelationshipSerializer, relationships: relationships
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue