10 lines
223 B
Ruby
10 lines
223 B
Ruby
class Internal::AccountAnalysisJob < ApplicationJob
|
|
queue_as :low
|
|
|
|
def perform(account)
|
|
return unless ChatwootApp.chatwoot_cloud?
|
|
|
|
Internal::AccountAnalysis::ThreatAnalyserService.new(account).perform
|
|
end
|
|
end
|