// This will throw an error if no follow was requested
let community_id = community.id;
let person_id = person.id;
- CommunityFollower::follow_accepted(context.pool(), community_id, person_id).await?;
+ CommunityFollower::follow_accepted(&mut context.pool(), community_id, person_id).await?;
Ok(())
}