You've already forked AstralRinth
forked from xxxOFFxxx/AstralRinth
Fix unlisted showing (#873)
* Fix projects showing draft * fix build * run fmt
This commit is contained in:
@@ -57,7 +57,7 @@ pub async fn forge_updates(
|
||||
.map(|x| x.1)
|
||||
.ok();
|
||||
|
||||
if !is_visible_project(&project.inner, &user_option, &pool).await? {
|
||||
if !is_visible_project(&project.inner, &user_option, &pool, false).await? {
|
||||
return Err(ApiError::InvalidInput(ERROR.to_string()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user