Skip to content

Commit

Permalink
Job Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhbhatia committed Jan 2, 2025
1 parent f07f4f2 commit 7d46f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
web: bin/rails server -p 3000
workers: bundle exec sidekiq
js: yarn build --watch
css: yarn build:css --watch
1 change: 1 addition & 0 deletions app/sidekiq/upload_files_from_dropbox_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def perform(token)
client = DropboxApi::Client.new(token)
files_list = client.list_folder("/COMIX files")
store.products.each do |product|
next if product.file_attachment.present?
puts product.name
comic_result = files_list.entries.select { |entry| entry.name.include?(product.name) }
next if comic_result.blank?
Expand Down

0 comments on commit 7d46f47

Please sign in to comment.