This commit is contained in:
2024-05-16 14:39:57 -04:00
parent 5d80acfcea
commit d592a0908a
2 changed files with 20 additions and 5 deletions

View File

@@ -12,9 +12,8 @@ router = APIRouter(
)
@router.get("/printticket/{delivery_id}")
async def print_specific_ticket(delivery_id):
@router.options("/printticket/{delivery_id}")
async def print_specific_ticket(delivery_id: int):
now = datetime.utcnow()
get_ticket = (session.query(Delivery)