Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

fix typo in article's schema plural naming. #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions conduit/articles/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Meta:
strict = True


class ArticleSchemas(ArticleSchema):
class ArticlesSchema(ArticleSchema):

@post_dump
def dump_article(self, data, **kwargs):
Expand Down Expand Up @@ -83,6 +83,6 @@ def make_comment(self, data, many, **kwargs):


article_schema = ArticleSchema()
articles_schema = ArticleSchemas(many=True)
articles_schema = ArticlesSchema(many=True)
comment_schema = CommentSchema()
comments_schema = CommentsSchema(many=True)