Skip to content

Commit 99dbc7b

Browse files
authored
Merge pull request #28 from palpalani/bugfix/route-changes
Fallback route changes
2 parents 8186a3f + 1aa371e commit 99dbc7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Requests/Store/CreateActivityRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(protected string $access_token, protected array $dat
2727
*/
2828
public function resolveEndpoint(): string
2929
{
30-
return '/custom-actions/store';
30+
return '/action/store';
3131
}
3232

3333
protected function defaultHeaders(): array

src/Requests/Store/GetActivityRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(protected string $access_token, protected string $ac
2525
*/
2626
public function resolveEndpoint(): string
2727
{
28-
return "/custom-actions/{$this->activity_id}";
28+
return "/action/{$this->activity_id}";
2929
}
3030

3131
protected function defaultHeaders(): array

0 commit comments

Comments
 (0)