Sha256: 0e4c8790b6d043ef3b10e0608cd6b2e45022da55d19c8b3279ea5eaa56399115
Contents?: true
Size: 963 Bytes
Versions: 4
Compression:
Stored size: 963 Bytes
Contents
module ApiV1StatusesControllerPatch def create status = Koyaaan.convert_toot(status_params[:status]) @status = PostStatusService.new.call(current_user.account, status, status_params[:in_reply_to_id].blank? ? nil : Status.find(status_params[:in_reply_to_id]), media_ids: status_params[:media_ids], sensitive: status_params[:sensitive], spoiler_text: status_params[:spoiler_text], visibility: status_params[:visibility], application: doorkeeper_token.application, idempotency: request.headers['Idempotency-Key']) render json: @status, serializer: REST::StatusSerializer end end
Version data entries
4 entries across 4 versions & 1 rubygems