Fix Pathao createParcel: drop hardcoded recipient_city/zone/area (let Pathao auto-resolve from address) — fixes 422 on real addresses
This commit is contained in:
@@ -83,9 +83,6 @@ export class PathaoAdapter implements CourierAdapter {
|
|||||||
recipient_name: req.recipient_name,
|
recipient_name: req.recipient_name,
|
||||||
recipient_phone: req.recipient_phone,
|
recipient_phone: req.recipient_phone,
|
||||||
recipient_address: req.recipient_address,
|
recipient_address: req.recipient_address,
|
||||||
recipient_city: 1, // Default Dhaka city ID
|
|
||||||
recipient_zone: 1,
|
|
||||||
recipient_area: 1,
|
|
||||||
delivery_type: 48, // Normal 48h or 24h
|
delivery_type: 48, // Normal 48h or 24h
|
||||||
item_type: 2, // Parcel
|
item_type: 2, // Parcel
|
||||||
special_instruction: req.note || "Aura AI automated dispatch",
|
special_instruction: req.note || "Aura AI automated dispatch",
|
||||||
|
|||||||
Reference in New Issue
Block a user