Fix Helena Express tracking API URL
This commit is contained in:
parent
40da7f3a09
commit
3449a78d53
@ -15,7 +15,7 @@ class Tracking_HelenaExpress {
|
|||||||
$barcode = new TrackingBarcode($code);
|
$barcode = new TrackingBarcode($code);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$status = json_decode(file_get_contents("https://helena.express/apis/track/?code=" . $barcode->getCode()));
|
$status = json_decode(file_get_contents("https://apis.helena.express/v1/track/?code=" . $barcode->getCode()));
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $ex) {
|
||||||
throw new TrackingException("There was a server problem. This code cannot be tracked right now.");
|
throw new TrackingException("There was a server problem. This code cannot be tracked right now.");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user