diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-03 15:09:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-03 15:09:52 +0300 |
commit | 546ddc3f6ac96fdf09934390a938bb391d07dc94 (patch) | |
tree | d0c92fca27ee76b5a20b7bfb56bda6f057424127 /app/services/groups/deploy_tokens | |
parent | 04baa85554ff13bdd4d6f4e6bb24119d17608fee (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/groups/deploy_tokens')
-rw-r--r-- | app/services/groups/deploy_tokens/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/groups/deploy_tokens/create_service.rb b/app/services/groups/deploy_tokens/create_service.rb index d747dabcd3c..81f761eb61d 100644 --- a/app/services/groups/deploy_tokens/create_service.rb +++ b/app/services/groups/deploy_tokens/create_service.rb @@ -9,7 +9,7 @@ module Groups deploy_token = create_deploy_token_for(@group, params) if deploy_token.persisted? - success(deploy_token: deploy_token, http_status: :ok) + success(deploy_token: deploy_token, http_status: :created) else error(deploy_token.errors.full_messages.to_sentence, :bad_request) end |