mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Saving saved story slugs.
This commit is contained in:
parent
b01aa852f7
commit
78c290e98d
1 changed files with 2 additions and 0 deletions
|
@ -3020,6 +3020,8 @@ class MStarredStoryCounts(mongo.Document):
|
|||
slug = self.slug if self.slug else ""
|
||||
if not self.slug and self.tag:
|
||||
slug = slugify(self.tag)
|
||||
self.slug = slug
|
||||
self.save()
|
||||
|
||||
return "%s/reader/starred_rss/%s/%s/%s" % (settings.NEWSBLUR_URL, self.user_id,
|
||||
secret_token, slug)
|
||||
|
|
Loading…
Add table
Reference in a new issue