ralsei has a job

This commit is contained in:
24c02 2025-12-09 20:47:07 -05:00
parent 5f41bb5b60
commit 8ce5102319
2 changed files with 8 additions and 1 deletions

View file

@ -29,7 +29,7 @@ class Slack::InteractivityController < ActionController::API
when "tutorial_agree"
Tutorial::AgreeJob.perform_later(current_identity)
else
RalseiEngine.handle_action(current_identity, action_id)
Ralsei::HandleActionJob.perform_later(current_identity, action_id)
end
head :ok

View file

@ -0,0 +1,7 @@
class Ralsei::HandleActionJob < ApplicationJob
queue_as :default
def perform(identity, action_id)
RalseiEngine.handle_action(identity, action_id)
end
end