From 699dc335b6f259f0dcd2fd5a26ef5b63079866ae Mon Sep 17 00:00:00 2001 From: abe545 Date: Sun, 16 Mar 2014 23:51:51 -0400 Subject: [PATCH] Updated to use the role as the group name for the projects. --- webapp.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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