summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
authorVinnie Okada <vincent@gitlab.com>2015-03-16 13:59:50 -0600
committerVinnie Okada <vincent@gitlab.com>2015-03-16 13:59:50 -0600
commit2e672c39a09577a0a16e75a10a249c923d8ee863 (patch)
tree6a4b5bd872c547432aedae908920f3e7432282b8 /lib/api/api.rb
parent7c3c836d3b62c72d1adf5431c0fedc91d92a8907 (diff)
downloadgitlab-ce-2e672c39a09577a0a16e75a10a249c923d8ee863.tar.gz
Fix restricted visibility bugs
Check for nil values in the restricted_visibility_level validation method, and set the restricted visibility request parameter to `[]` when it's missing from the request.
Diffstat (limited to 'lib/api/api.rb')
0 files changed, 0 insertions, 0 deletions