th-downstream
Skye 9 months ago
parent c18931479c
commit 1daea5fb31
Signed by: me
GPG Key ID: 0104BC05F41B77B8

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

Loading…
Cancel
Save