Skip to content

Commit

Permalink
fix product get endPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Matej-ch committed Aug 30, 2021
1 parent f7dd693 commit 91ca1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class WProduct extends WebarealHandler
* @return array|bool|string
* @throws Exception
*/
public function get(string $endPoint = 'products')
public function get(string $endPoint = '/products')
{
return $this->commonCurl($endPoint . $this->query);
}
Expand Down

0 comments on commit 91ca1da

Please sign in to comment.