mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Fix reports docx job arguments [SCI-5763]
This commit is contained in:
parent
30a116fc83
commit
7a5c7e0526
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