statuses_contorollerのsyntax error修正

This commit is contained in:
YoheiZuho 2022-03-15 21:11:18 +09:00
parent 14e0066830
commit 632a567387

View File

@ -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