add update shipments
This commit is contained in:
@@ -22,7 +22,7 @@ class ShipmentDataProvider {
|
||||
}
|
||||
|
||||
Future<void> cancelShipment(Shipment shipment) async {
|
||||
return await requestAPI("/shipment_cancel", "PUT",
|
||||
return await requestAPI("/shipments/cancel", "PUT",
|
||||
payload: shipment.toMap(), token: await getToken());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user