Update apps/labrinth/src/routes/v3/reports.rs

Co-authored-by: aecsocket <43144841+aecsocket@users.noreply.github.com>
Signed-off-by: Blodhgarm <timekeeperguild@gmail.com>
This commit is contained in:
Blodhgarm
2026-08-29 14:34:09 -05:00
committed by GitHub
co-authored by aecsocket
parent eeba73e4ca
commit 2867db6ed9
+2 -2
View File
@@ -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())