Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed Nov 7, 2024
1 parent da038d0 commit c7705cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/api_common/src/community.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,10 @@ pub struct GetRandomCommunity {
#[cfg_attr(feature = "full", ts(export))]
pub struct ListCommunityPendingFollows {
/// Only shows the unapproved applications
#[cfg_attr(feature = "full", ts(optional))]
pub pending_only: Option<bool>,
// Only for admins, show pending follows for communities which you dont moderate
#[cfg_attr(feature = "full", ts(optional))]
pub all_communities: Option<bool>,
pub page: Option<i64>,
pub limit: Option<i64>,
Expand Down
2 changes: 1 addition & 1 deletion crates/db_views/src/post_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,7 @@ mod tests {
#[tokio::test]
#[serial]
async fn speed_check() -> LemmyResult<()> {
let pool = &build_db_pool().await?;
let pool = &build_db_pool()?;
let pool = &mut pool.into();
let data = init_data(pool).await?;

Expand Down

0 comments on commit c7705cd

Please sign in to comment.