minor: typo in org exception
This commit is contained in:
parent
748544fb82
commit
d0c8c6c297
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue