fix site parameter for customersNoteCreate method
This commit is contained in:
parent
9c8725b666
commit
0d4b323e9e
1 changed files with 2 additions and 1 deletions
|
@ -96,6 +96,7 @@ trait Customers
|
|||
* Create customer note
|
||||
*
|
||||
* @param array $note (default: array())
|
||||
* @param string $site (default: null)
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* @throws \RetailCrm\Exception\CurlException
|
||||
|
@ -103,7 +104,7 @@ trait Customers
|
|||
*
|
||||
* @return \RetailCrm\Response\ApiResponse
|
||||
*/
|
||||
public function customersNotesCreate($note)
|
||||
public function customersNotesCreate($note, $site = null)
|
||||
{
|
||||
if (empty($note['customer']['id']) && empty($note['customer']['externalId'])) {
|
||||
throw new \InvalidArgumentException(
|
||||
|
|
Loading…
Add table
Reference in a new issue