AAAAA
This commit is contained in:
parent
c18931479c
commit
1daea5fb31
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue