Skip to content

Commit

Permalink
Route changes
Browse files Browse the repository at this point in the history
  • Loading branch information
prasantargetbay committed May 7, 2024
1 parent 8186a3f commit 1aa371e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Requests/Store/CreateActivityRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(protected string $access_token, protected array $dat
*/
public function resolveEndpoint(): string
{
return '/custom-actions/store';
return '/action/store';
}

protected function defaultHeaders(): array
Expand Down
2 changes: 1 addition & 1 deletion src/Requests/Store/GetActivityRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(protected string $access_token, protected string $ac
*/
public function resolveEndpoint(): string
{
return "/custom-actions/{$this->activity_id}";
return "/action/{$this->activity_id}";
}

protected function defaultHeaders(): array
Expand Down

0 comments on commit 1aa371e

Please sign in to comment.