feat: cards, attributes and modules
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user