Skip to content

Commit

Permalink
Fix issue with GetPost not returning bot cross_posts. (#4804)
Browse files Browse the repository at this point in the history
- Fixes #4803
  • Loading branch information
dessalines committed Jun 13, 2024
1 parent 0463751 commit fc6f46c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/api_crud/src/post/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pub async fn get_post(
let cross_posts = if let Some(url) = &post_view.post.url {
let mut x_posts = PostQuery {
url_search: Some(url.inner().as_str().into()),
local_user: local_user_view.as_ref(),
..Default::default()
}
.list(&local_site.site, &mut context.pool())
Expand Down

0 comments on commit fc6f46c

Please sign in to comment.