From: Michael Tremer Date: Tue, 3 Mar 2026 14:41:13 +0000 (+0000) Subject: api: Fix incorrect excpetion class name X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=327568fd94fb43b30efb2007be6a693663da634d;p=dbl.git api: Fix incorrect excpetion class name Signed-off-by: Michael Tremer --- diff --git a/src/dbl/api/reports.py b/src/dbl/api/reports.py index 5b3e5fd..9eedb17 100644 --- a/src/dbl/api/reports.py +++ b/src/dbl/api/reports.py @@ -138,7 +138,7 @@ async def close_report( # Check for permissions if not await report.has_perm(user, accept=data.accept): - raise fastapi.HTTPError(403, "You don't have permission to change this report") + raise fastapi.HTTPException(403, "You don't have permission to change this report") # Post the comment if one has been sent if data.comment: