feat: cards, attributes and modules

This commit is contained in:
2025-02-19 14:46:31 +04:00
parent a509a3a586
commit 1af78ce08a
61 changed files with 3212 additions and 2795 deletions

View File

@@ -15,16 +15,16 @@ shipping_router = APIRouter(
@shipping_router.post(
'/pallet/{deal_id}',
'/pallet/{card_id}',
response_model=CreatePalletResponse,
operation_id='create_pallet',
dependencies=[Depends(authorized_user)],
)
async def create_pallet(
session: SessionDependency,
deal_id: int,
card_id: int,
):
return await ShippingService(session).create_pallet(deal_id)
return await ShippingService(session).create_pallet(card_id)
@shipping_router.delete(