mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
13 lines
315 B
Ruby
13 lines
315 B
Ruby
# frozen_string_literal: true
|
|
|
|
module UserAssignments
|
|
class RemoveTeamUserAssignmentsJob < ApplicationJob
|
|
queue_as :high_priority
|
|
|
|
def perform(team_user_assignment)
|
|
ActiveRecord::Base.transaction do
|
|
RemoveTeamUserAssignmentsService.new(team_user_assignment).call
|
|
end
|
|
end
|
|
end
|
|
end
|