From d0c8c6c297365737938fc108119b8b9e493cc106 Mon Sep 17 00:00:00 2001 From: luxferre Date: Wed, 27 May 2026 13:33:30 +0100 Subject: [PATCH] minor: typo in org exception --- src/organisation/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/organisation/exceptions.py b/src/organisation/exceptions.py index 772ec2b..69f601d 100644 --- a/src/organisation/exceptions.py +++ b/src/organisation/exceptions.py @@ -12,8 +12,8 @@ from fastapi import HTTPException, status class OrgNotFoundException(HTTPException): def __init__(self, org_id: Optional[int] = None) -> None: - detail = "Organisation not found" if org_id is None else f"User with ID '{org_id}' was not found." + detail = "Organisation not found" if org_id is None else f"Organisation with ID '{org_id}' was not found." super().__init__( status_code=status.HTTP_404_NOT_FOUND, detail=detail, - ) \ No newline at end of file + )