Spaces:
Sleeping
Sleeping
| from fastapi import HTTPException | |
| def ensure_owner(owner_id: str | None) -> None: | |
| if not owner_id: | |
| raise HTTPException(status_code=400, detail="owner_id is required") | |
| from fastapi import HTTPException | |
| def ensure_owner(owner_id: str | None) -> None: | |
| if not owner_id: | |
| raise HTTPException(status_code=400, detail="owner_id is required") | |