Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit ca65b20

Browse files
Changes made to the models file because of the error we are facing
1 parent 1e655ca commit ca65b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rewards/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,6 @@ def get_user_articles(self):
203203
if available_articles < 0:
204204
available_articles = 0
205205

206-
articles = Articles.objects.all().values('id', 'banner_image_url', 'meta_description')[available_articles:]
206+
articles = Articles.objects.all().values('id', 'title', 'banner_image_url', 'meta_description')[available_articles:]
207207

208208
return articles

0 commit comments

Comments
 (0)