Skip to content

Commit ad2e667

Browse files
committed
fix(exports): Ensure enqueue works
1 parent d02c259 commit ad2e667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/manage/data_exports_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def create
2929
@data_export = DataExport.new(data_export_params)
3030

3131
if @data_export.save
32-
@data_export.enqueue!
32+
@data_export.reload.enqueue!
3333
respond_to do |format|
3434
format.html { redirect_to manage_data_exports_path, notice: "Data export was successfully created." }
3535
format.json { render json: @data_export }

0 commit comments

Comments
 (0)