diff options
Diffstat (limited to 'app/controllers/api/v1/polls')
-rw-r--r-- | app/controllers/api/v1/polls/votes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/polls/votes_controller.rb b/app/controllers/api/v1/polls/votes_controller.rb index 3fa0b6a76..186194ba0 100644 --- a/app/controllers/api/v1/polls/votes_controller.rb +++ b/app/controllers/api/v1/polls/votes_controller.rb @@ -11,7 +11,7 @@ class Api::V1::Polls::VotesController < Api::BaseController def create VoteService.new.call(current_account, @poll, vote_params[:choices]) - render json: @poll, serializer: REST::PollSerializer + render json: @poll, serializer: REST::PollSerializer, monsterfork_api: monsterfork_api end private |