Skip to content

Commit

Permalink
Merge pull request #638 from rapidpro/story-api-content
Browse files Browse the repository at this point in the history
Add story content to the API
  • Loading branch information
norkans7 authored Oct 15, 2020
2 parents a20640d + 126c184 commit 8ff1b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ureport/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class Meta:
"title",
"featured",
"summary",
"content",
"video_id",
"audio_link",
"tags",
Expand Down
1 change: 1 addition & 0 deletions ureport/api/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ def test_single_story(self):
video_id=story.video_id,
audio_link=story.audio_link,
summary=story.summary,
content=story.content,
featured=story.featured,
tags=story.tags,
images=StoryReadSerializer().get_images(story),
Expand Down

0 comments on commit 8ff1b88

Please sign in to comment.