Fix repost notifications

This commit is contained in:
silverpill 2021-12-10 15:31:57 +00:00
parent c4fdb46df7
commit bcaf6a08c7

View file

@ -157,7 +157,7 @@ pub async fn create_post(
&transaction, &transaction,
&db_post.author_id, &db_post.author_id,
&repost_of_author.id, &repost_of_author.id,
&db_post.id, repost_of_id,
).await?; ).await?;
notified_users.push(repost_of_author.id); notified_users.push(repost_of_author.id);
}; };