|
|
@ -71,7 +71,7 @@ class Api::V1::StatusesController < Api::BaseController
|
|
|
|
idempotency: request.headers['Idempotency-Key'],
|
|
|
|
idempotency: request.headers['Idempotency-Key'],
|
|
|
|
with_rate_limit: true,
|
|
|
|
with_rate_limit: true,
|
|
|
|
quote_id: status_params[:quote_id].presence,
|
|
|
|
quote_id: status_params[:quote_id].presence,
|
|
|
|
local_only: status_params[:local_only])
|
|
|
|
local_only: status_params[:local_only]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
render json: @status, serializer: @status.is_a?(ScheduledStatus) ? REST::ScheduledStatusSerializer : REST::StatusSerializer
|
|
|
|
render json: @status, serializer: @status.is_a?(ScheduledStatus) ? REST::ScheduledStatusSerializer : REST::StatusSerializer
|
|
|
|