diff --git a/apps/labrinth/src/routes/v3/reports.rs b/apps/labrinth/src/routes/v3/reports.rs index f686d463e7..d3ad4136e0 100644 --- a/apps/labrinth/src/routes/v3/reports.rs +++ b/apps/labrinth/src/routes/v3/reports.rs @@ -207,10 +207,10 @@ pub async fn report_create( .wrap_internal_err("querying database for `report_create`")?; if !result.exists.unwrap_or(false) { - return Err(ApiError::Request(eyre::eyre!(format!( + return Err(ApiError::Request(eyre::eyre!( "Organization could not be found: {}", new_report.item_id - )))); + ))); } report.organization_id = Some(organization_id.into())