Skip to content

Commit

Permalink
Merge pull request #1514 from department-of-veterans-affairs/hotfix/e…
Browse files Browse the repository at this point in the history
…folder_status_solution

hotfix/APPEALS-37942
  • Loading branch information
raymond-hughes authored Mar 18, 2024
2 parents 4ed40be + bc5a1b6 commit a149b7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/zipfile_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def process
fetched_files_status: :finished,
fetched_files_at: Time.zone.now
)
records_to_update = records.where(status: 0)
records_to_update.update_all(status: 1)
t.close
t.unlink
end
Expand Down

0 comments on commit a149b7d

Please sign in to comment.