diff --git a/webapp.js b/webapp.js index cfca4bb..351f3dd 100644 --- a/webapp.js +++ b/webapp.js @@ -16,8 +16,7 @@ module.exports = { config: { sourceType: String, - sourceUrl: String, - role: String + sourceUrl: String }, // oauth global routes @@ -106,12 +105,11 @@ function parseRepo(account, repo) { name: account.name + '/' + repo.Name, display_name: repo.Title, display_url: repo.Url, - group: account.name, + group: repo.Role, 'private': !repo.IsPublished, config: { sourceType: repo.SourceControl.ServerType, - sourceUrl: repo.SourceControl.Url, - role: repo.Role + sourceUrl: repo.SourceControl.Url } } } \ No newline at end of file