Skip to content

Commit

Permalink
chore(feat): add fix to related articles func
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Dec 13, 2024
1 parent f8417af commit eb6c5a1
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 @@ -100,7 +100,7 @@ def create(self, validated_data: dict) -> Article:

return article
except Exception as e:
raise serializers.ValidationError(f"Error creating article: {str(e)}") from e
raise serializers.ValidationError(f"Error creating article: {str(e)}")

def update(self, instance: Article, validated_data: dict) -> Article:
"""Update an existing article instance."""
Expand Down

0 comments on commit eb6c5a1

Please sign in to comment.