Skip to content

Commit

Permalink
Run correct job for google drafts, since the platforma column is not …
Browse files Browse the repository at this point in the history
…empty anymore, testing
  • Loading branch information
tomasdrga committed Dec 9, 2024
1 parent 643a4ec commit 77d6a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/sync_one_topic_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def process_row(row, indices, target_id)
product_page_id = row[indices["ID produktu"]]

if target_id == preparation_page_id.to_i
if platform_link != ''
if platform_link == 'Platforma link'
SyncTopicJob.perform_now(project_id, preparation_page_id)
else
enqueue_job_for_update("#{project_name} - Príprava", project_id, preparation_document_id, preparation_page_id, 'Prípravná fáza')
Expand Down

0 comments on commit 77d6a2a

Please sign in to comment.