Skip to content

Commit

Permalink
Dostavista changed direct url to order
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmologist authored Mar 31, 2018
1 parent f9d3489 commit 45e9fc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Dostavista.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,8 @@ public function getEvent(array $eventData): BaseEvent
public function buildOrderUrl(int $orderId): string
{
return sprintf(
'https://%s/cabinet/%u/order-view/%u',
'https://%s/cabinet/order-view/%u',
parse_url($this->baseUrl, PHP_URL_HOST),
$this->clientId,
$orderId
);
}
Expand Down

0 comments on commit 45e9fc6

Please sign in to comment.