mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 11:41:19 +08:00
Merge pull request #3352 from okriuchykhin/ok_SCI_5763
Fix reports docx job arguments [SCI-5763]
This commit is contained in:
commit
90b02f9d4a
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class ReportsController < ApplicationController
|
|||
format.json do
|
||||
@report.docx_processing!
|
||||
log_activity(:generate_docx_report)
|
||||
Reports::DocxJob.perform_later(@report, current_user, root_url)
|
||||
Reports::DocxJob.perform_later(@report.id, current_user, root_url)
|
||||
render json: {
|
||||
message: I18n.t('projects.reports.index.generation.accepted_message')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue