Skip to content

Commit

Permalink
Remove zip binary from form data before create task.
Browse files Browse the repository at this point in the history
  • Loading branch information
teonator committed Apr 8, 2024
1 parent ba8a105 commit 689d990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion handlers/admin/HTMLImport.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ component extends="preside.system.base.AdminHandler" {

htmlImportStorageProvider.putObject( object=formData.zip_file.binary, path=zipFilePath, private=true );

StructAppend( formData, { "zip_file"=zipFileName } );

var taskId = createTask(
event = "admin.HtmlImport.importInBackgroundThread"
, runNow = true
Expand All @@ -103,7 +105,7 @@ component extends="preside.system.base.AdminHandler" {
}
);

StructAppend( formData, { "zip_file"=zipFileName } );


event.audit(
type = "htmlImport"
Expand Down

0 comments on commit 689d990

Please sign in to comment.