forked from didirus/AstralRinth
Fix unlisted showing (#873)
* Fix projects showing draft * fix build * run fmt
This commit is contained in:
@@ -60,7 +60,7 @@ pub async fn team_members_get_project(
|
||||
.map(|x| x.1)
|
||||
.ok();
|
||||
|
||||
if !is_visible_project(&project.inner, ¤t_user, &pool).await? {
|
||||
if !is_visible_project(&project.inner, ¤t_user, &pool, false).await? {
|
||||
return Err(ApiError::NotFound);
|
||||
}
|
||||
let members_data =
|
||||
|
||||
Reference in New Issue
Block a user