Fix NameError: add Query to fastapi imports in invoices.py
Query was used at lines 2121 and 2242 (token query-param auth on image preview endpoints) but never imported, causing the backend to crash on startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ba075276b1
commit
9ed700977b
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ from datetime import date, timedelta
|
|||
from decimal import Decimal
|
||||
from typing import Optional
|
||||
|
||||
from fastapi import APIRouter, Depends, HTTPException, Request, UploadFile, File, BackgroundTasks
|
||||
from fastapi import APIRouter, Depends, HTTPException, Query, Request, UploadFile, File, BackgroundTasks
|
||||
from fastapi.responses import FileResponse
|
||||
from sqlalchemy.ext.asyncio import AsyncSession
|
||||
from sqlalchemy import select, func, text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue