Skip to content

Commit

Permalink
Merge pull request #381 from gitnnolabs/bug369
Browse files Browse the repository at this point in the history
Garante que o campo de relacionamento com outro artigo esteja vazio.
  • Loading branch information
gitnnolabs authored Apr 27, 2023
2 parents c7d14cf + 3b88125 commit 5d599cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airflow/dags/operations/sync_kernel_to_website_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ def ArticleFactory(
# atualiza status
article.is_public = True

# Garante que o campo de relacionamento com outro artigo esteja vazio.
article.related_articles = []

# Dados principais
article.title = _get_main_article_title(data)
article.section = _nestget(data, "article_meta", 0, "pub_subject", 0)
Expand Down

0 comments on commit 5d599cd

Please sign in to comment.