mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-24 11:33:47 -05:00
Fixed a typo that was breaking the account mute API endpoint
This commit is contained in:
parent
ef5ebdd544
commit
d5d1dcab77
@ -26,7 +26,7 @@ class Api::V1::AccountsController < Api::BaseController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def mute
|
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
|
render json: @account, serializer: REST::RelationshipSerializer, relationships: relationships
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user