Skip to content

Commit

Permalink
chore(fix): add fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Dec 11, 2024
1 parent 08bc65d commit 11bb528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/apps/research/serializers/article_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def update(self, instance: Article, validated_data: dict) -> Article:
"""Update an existing article instance."""
authors = validated_data.pop('authors', [])
categories = validated_data.pop('categories', [])
related_article_ids = validated_data.pop('related_article_ids', [])
related_article_ids = validated_data.pop('related_article_ids', None)

try:
instance = super().update(instance, validated_data)
Expand Down

0 comments on commit 11bb528

Please sign in to comment.