Commit 87d4d76d authored by tiagonbotelho's avatar tiagonbotelho

fixes missing field on basicprojectdetails

parent 8a4f2d4d
File added
File added
...@@ -401,6 +401,7 @@ class GitLabDropdown ...@@ -401,6 +401,7 @@ class GitLabDropdown
selected = true selected = true
# Set URL # Set URL
console.log(data)
if @options.url? if @options.url?
url = @options.url(data) url = @options.url(data)
else else
......
...@@ -54,6 +54,7 @@ module API ...@@ -54,6 +54,7 @@ module API
class BasicProjectDetails < Grape::Entity class BasicProjectDetails < Grape::Entity
expose :id expose :id
expose :http_url_to_repo, :web_url
expose :name, :name_with_namespace expose :name, :name_with_namespace
expose :path, :path_with_namespace expose :path, :path_with_namespace
end end
......
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