Skip to content

Commit

Permalink
Fix/autoload unless xsd xslt (#22)
Browse files Browse the repository at this point in the history
* default to autoload unless xlst and xsd specified

* minor cleanup

* fix wrong autoload default
  • Loading branch information
celuchmarek authored Aug 27, 2024
1 parent d246ead commit 7c28954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/documents_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def document_params
params.require(:document).require(:content)

params[:parameters] = {} unless params[:parameters]
params[:parameters][:autoLoadEform] = true unless params[:schema] && params[:transformation]
params[:parameters][:autoLoadEform] = true unless params[:parameters][:schema] && params[:parameters][:transformation]

params.permit(
:encryption_key,
Expand Down

0 comments on commit 7c28954

Please sign in to comment.