Skip to content

Commit

Permalink
Merge pull request #6 from Cosmologist/patch-2
Browse files Browse the repository at this point in the history
Dostavista changed direct url to order
  • Loading branch information
Sergey Kasatkin authored Mar 31, 2018
2 parents f9d3489 + 45e9fc6 commit 05e0eaf
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 05e0eaf

Please sign in to comment.