Chatwoot/app/jobs/channels/whatsapp/templates_sync_job.rb

8 lines
155 B
Ruby
Raw Permalink Normal View History

class Channels::Whatsapp::TemplatesSyncJob < ApplicationJob
queue_as :low
def perform(whatsapp_channel)
whatsapp_channel.sync_templates
end
end