From 93aa6e2b6e35fc5e453854b9a72b8ed48c869fb2 Mon Sep 17 00:00:00 2001 From: Kevin Richter Date: Thu, 13 Mar 2025 09:06:23 +0100 Subject: [PATCH] feat: allow parameters to be passed to project access tokens request --- src/Api/Projects.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Projects.php b/src/Api/Projects.php index 32aa168a..d802835d 100644 --- a/src/Api/Projects.php +++ b/src/Api/Projects.php @@ -1126,9 +1126,9 @@ public function deleteAllMergedBranches(int|string $project_id): mixed return $this->delete($this->getProjectPath($project_id, 'repository/merged_branches')); } - public function projectAccessTokens(int|string $project_id): mixed + public function projectAccessTokens(int|string $project_id, array $parameters = []): mixed { - return $this->get($this->getProjectPath($project_id, 'access_tokens')); + return $this->get($this->getProjectPath($project_id, 'access_tokens'), $parameters); } public function projectAccessToken(int|string $project_id, int|string $token_id): mixed