Skip to content

Commit ecbb6de

Browse files
Merge pull request #30 from TomCawthorn/patch-1
Allow data to be passed to public request method
2 parents f12d2ec + e1727c1 commit ecbb6de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/VendAPI/VendAPI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ public function getSalesSince($date)
198198
*
199199
* @return object returned from vend
200200
*/
201-
public function request($path)
201+
public function request($path, $data = null)
202202
{
203-
return $this->_request($path);
203+
return $this->_request($path, $data);
204204
}
205205
private function apiGetProducts($path)
206206
{

0 commit comments

Comments
 (0)