From 632a567387897445d3c5079c44a6f3850c6ed2e4 Mon Sep 17 00:00:00 2001 From: YoheiZuho Date: Tue, 15 Mar 2022 21:11:18 +0900 Subject: [PATCH] =?UTF-8?q?statuses=5Fcontoroller=E3=81=AEsyntax=20error?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/v1/statuses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb index 4f52d9dbd..35396ecde 100644 --- a/app/controllers/api/v1/statuses_controller.rb +++ b/app/controllers/api/v1/statuses_controller.rb @@ -51,7 +51,7 @@ class Api::V1::StatusesController < Api::BaseController poll: status_params[:poll], idempotency: request.headers['Idempotency-Key'], with_rate_limit: true, - quote_id: status_params[:quote_id].presence) + quote_id: status_params[:quote_id].presence, ) render json: @status, serializer: @status.is_a?(ScheduledStatus) ? REST::ScheduledStatusSerializer : REST::StatusSerializer