Execute AchiveCreationJob in exports queue
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
This commit is contained in:
parent
b73d504f8d
commit
48dca8bad1
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
class ArchiveCreationJob < ApplicationJob
|
||||
queue_as :exports
|
||||
|
||||
def perform(procedure, archive, instructeur)
|
||||
ProcedureArchiveService
|
||||
.new(procedure)
|
||||
|
|
Loading…
Reference in a new issue