Skip to content

Commit 5e6063f

Browse files
Update WebhooksApi.php (#61)
1 parent 1c49974 commit 5e6063f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

lib/API/WebhooksApi.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,9 +1500,9 @@ public function getWebhookTopicRequest($id, $apiKey = null)
15001500
* @throws \InvalidArgumentException
15011501
* @return array<string,mixed>|\KlaviyoAPI\Model\GetAccounts400Response|\KlaviyoAPI\Model\GetAccounts400Response
15021502
*/
1503-
public function getWebhookTopics(, $apiKey = null)
1503+
public function getWebhookTopics($id, $apiKey = null)
15041504
{
1505-
list($response) = $this->getWebhookTopicsWithHttpInfo(, $apiKey);
1505+
list($response) = $this->getWebhookTopicsWithHttpInfo($id, $apiKey);
15061506
return $response;
15071507
}
15081508

@@ -1516,9 +1516,9 @@ public function getWebhookTopics(, $apiKey = null)
15161516
* @throws \InvalidArgumentException
15171517
* @return array of array<string,mixed>|\KlaviyoAPI\Model\GetAccounts400Response|\KlaviyoAPI\Model\GetAccounts400Response, HTTP status code, HTTP response headers (array of strings)
15181518
*/
1519-
public function getWebhookTopicsWithHttpInfo(, $apiKey = null)
1519+
public function getWebhookTopicsWithHttpInfo($id, $apiKey = null)
15201520
{
1521-
$request = $this->getWebhookTopicsRequest(, $apiKey);
1521+
$request = $this->getWebhookTopicsRequest($id, $apiKey);
15221522

15231523
try {
15241524
$options = $this->createHttpClientOption();
@@ -1682,9 +1682,9 @@ public function getWebhookTopicsWithHttpInfo(, $apiKey = null)
16821682
* @throws \InvalidArgumentException
16831683
* @return \GuzzleHttp\Promise\PromiseInterface
16841684
*/
1685-
public function getWebhookTopicsAsync(, $apiKey = null)
1685+
public function getWebhookTopicsAsync($id, $apiKey = null)
16861686
{
1687-
return $this->getWebhookTopicsAsyncWithHttpInfo(, $apiKey)
1687+
return $this->getWebhookTopicsAsyncWithHttpInfo($id, $apiKey)
16881688
->then(
16891689
function ($response) {
16901690
return $response[0];
@@ -1701,10 +1701,10 @@ function ($response) {
17011701
* @throws \InvalidArgumentException
17021702
* @return \GuzzleHttp\Promise\PromiseInterface
17031703
*/
1704-
public function getWebhookTopicsAsyncWithHttpInfo(, $apiKey = null)
1704+
public function getWebhookTopicsAsyncWithHttpInfo($id, $apiKey = null)
17051705
{
17061706
$returnType = 'array<string,mixed>';
1707-
$request = $this->getWebhookTopicsRequest(, $apiKey);
1707+
$request = $this->getWebhookTopicsRequest($id, $apiKey);
17081708

17091709
return $this->client
17101710
->sendAsync($request, $this->createHttpClientOption())
@@ -1754,7 +1754,7 @@ function ($exception) {
17541754
* @throws \InvalidArgumentException
17551755
* @return \GuzzleHttp\Psr7\Request
17561756
*/
1757-
public function getWebhookTopicsRequest(, $apiKey = null)
1757+
public function getWebhookTopicsRequest($id, $apiKey = null)
17581758
{
17591759

17601760
$resourcePath = '/api/webhook-topics/';

0 commit comments

Comments
 (0)