Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-13 21:12:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-13 21:12:21 +0300
commit05ade12880fb1316b086583fa98b4d2f3f26a143 (patch)
treed1f28732a0502079d4112b9ebd6456232fd3acdf /app/controllers/profiles
parent4597f7fe473d9fa622510f8967620006d4bda64e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/profiles')
-rw-r--r--app/controllers/profiles/personal_access_tokens_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles/personal_access_tokens_controller.rb b/app/controllers/profiles/personal_access_tokens_controller.rb
index 07d786ab060..8ed67c26f19 100644
--- a/app/controllers/profiles/personal_access_tokens_controller.rb
+++ b/app/controllers/profiles/personal_access_tokens_controller.rb
@@ -65,7 +65,7 @@ class Profiles::PersonalAccessTokensController < Profiles::ApplicationController
add_pagination_headers(tokens)
end
- ::API::Entities::PersonalAccessTokenWithDetails.represent(tokens)
+ ::PersonalAccessTokenSerializer.new.represent(tokens)
end
def add_pagination_headers(relation)