feat: init org settings

This commit is contained in:
swve 2023-12-13 22:03:22 +01:00
parent 838a94eec1
commit 55c097a50e
6 changed files with 227 additions and 16 deletions

View file

@ -142,7 +142,7 @@ async def update_org(
slug_available = result.first()
if slug_available:
if slug_available and slug_available.id != org_id:
raise HTTPException(
status_code=status.HTTP_409_CONFLICT,
detail="Organization slug already exists",