Commit 2e8b4664 authored by Etienne Baqué's avatar Etienne Baqué

Added changelog file

parent f1857590
......@@ -19,7 +19,7 @@ module DeployTokenMethods
if deploy_token.persisted?
success(deploy_token: deploy_token, http_status: :created)
else
error(deploy_token.errors.full_messages.to_sentence, :bad_request).merge(deploy_token: deploy_token)
error(deploy_token.errors.full_messages.to_sentence, :bad_request, pass_back: { deploy_token: deploy_token })
end
end
end
---
title: Fix Deploy Token creation when no scope selected
merge_request: 29614
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment