Deploy: 2025-12-17 16:37
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
This commit is contained in:
@ -56,10 +56,10 @@ def _require_trader_or_higher(sub: Subscription) -> None:
|
||||
|
||||
@router.get("/vision", response_model=VisionResponse)
|
||||
async def get_vision(
|
||||
domain: str = Query(..., min_length=3, max_length=255),
|
||||
refresh: bool = Query(False, description="Bypass cache and regenerate"),
|
||||
current_user: CurrentUser,
|
||||
db: Database,
|
||||
domain: str = Query(..., min_length=3, max_length=255),
|
||||
refresh: bool = Query(False, description="Bypass cache and regenerate"),
|
||||
):
|
||||
sub = await _get_or_create_subscription(db, current_user.id)
|
||||
_require_trader_or_higher(sub)
|
||||
|
||||
Reference in New Issue
Block a user