diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-11 00:09:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-11 00:09:45 +0000 |
commit | 4f1e40017d9eadb0abeeb89d9690a8e5f0694fd9 (patch) | |
tree | c02455f9e9ff3092c2b4a3b00b2069d72f5d9507 /lib/api/applications.rb | |
parent | 20a18d1f9bf452c1dd2ef996bee50e34cfcb80f4 (diff) | |
download | gitlab-ce-4f1e40017d9eadb0abeeb89d9690a8e5f0694fd9.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/applications.rb')
-rw-r--r-- | lib/api/applications.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/api/applications.rb b/lib/api/applications.rb index 346bd6ccfe4..70488621f33 100644 --- a/lib/api/applications.rb +++ b/lib/api/applications.rb @@ -17,8 +17,10 @@ module API requires :redirect_uri, type: String, desc: 'Application redirect URI' requires :scopes, type: String, desc: 'Application scopes', allow_blank: false - optional :confidential, type: Boolean, default: true, - desc: 'Application will be used where the client secret is confidential' + optional :confidential, + type: Boolean, + default: true, + desc: 'Application will be used where the client secret is confidential' end post do application = Doorkeeper::Application.new(declared_params) |