Browse Source

Fixed a typo that was breaking the account mute API endpoint

closed-social-glitch-2
Surinna Curtis 7 years ago
parent
commit
79d8911116
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/v1/accounts_controller.rb

+ 1
- 1
app/controllers/api/v1/accounts_controller.rb View File

@ -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…
Cancel
Save