mastodon/app/controllers/api/fasp/data_sharing/v0/continuations_controller.rb
2025-04-08 15:03:31 +02:00

11 lines
312 B
Ruby

# frozen_string_literal: true
class Api::Fasp::DataSharing::V0::ContinuationsController < Api::Fasp::BaseController
def create
backfill_request = current_provider.fasp_backfill_requests.find(params[:backfill_request_id])
Fasp::BackfillWorker.perform_async(backfill_request.id)
head 204
end
end