about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorSurinna Curtis <ekiru.0@gmail.com>2017-09-13 21:04:05 -0500
committerSurinna Curtis <ekiru.0@gmail.com>2017-09-13 21:47:30 -0500
commit79d891111671a5a5fd67d0446659f7d7712484b1 (patch)
treebcbcc420a288c86dd9ba95fe9e5624a6c584c02f /app/controllers/api/v1
parentd880b3182bef4b9b24b09b02aea7f66fc5d2d905 (diff)
Fixed a typo that was breaking the account mute API endpoint
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts_controller.rb b/app/controllers/api/v1/accounts_controller.rb
index 3e9ac1025..ec3abfbf5 100644
--- a/app/controllers/api/v1/accounts_controller.rb
+++ b/app/controllers/api/v1/accounts_controller.rb
@@ -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