publish fix
This commit is contained in:
parent
09db8252b8
commit
00cb86cc1b
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def publish(pid, v):
|
|||
|
||||
for follow in v.followers:
|
||||
user = get_account(follow.user_id)
|
||||
send_notification(user, f"@{v.username} has made a new post: [{post.title}](http://{site}{post.permalink})", True)
|
||||
send_notification(user.id, f"@{v.username} has made a new post: [{post.title}](http://{site}{post.permalink})", True)
|
||||
|
||||
cache.delete_memoized(frontlist)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue