From 2867db6ed91f150eccb853c3ee6b4317d0f8d5cb Mon Sep 17 00:00:00 2001 From: Blodhgarm Date: Sat, 29 Aug 2026 14:34:09 -0500 Subject: [PATCH] Update apps/labrinth/src/routes/v3/reports.rs Co-authored-by: aecsocket <43144841+aecsocket@users.noreply.github.com> Signed-off-by: Blodhgarm --- apps/labrinth/src/routes/v3/reports.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())