diff --git a/files/routes/posts.py b/files/routes/posts.py index a6d7923d4..335a93dd8 100755 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -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)