This commit is contained in:
Skye 2024-02-03 14:56:27 +09:00
parent c18931479c
commit 1daea5fb31
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

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