2020-10-24 23:57:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class PagesUpdateConfigurationWorker
|
|
|
|
include ApplicationWorker
|
|
|
|
|
|
|
|
idempotent!
|
|
|
|
feature_category :pages
|
|
|
|
|
|
|
|
def perform(project_id)
|
|
|
|
project = Project.find_by_id(project_id)
|
|
|
|
return unless project
|
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
Projects::UpdatePagesConfigurationService.new(project).execute
|
2020-10-24 23:57:45 +05:30
|
|
|
end
|
|
|
|
end
|