Skip to content

Commit

Permalink
Updated to use the role as the group name for the projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
abe545 committed Mar 17, 2014
1 parent bb65934 commit 699dc33
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ module.exports = {

config: {
sourceType: String,
sourceUrl: String,
role: String
sourceUrl: String
},

// oauth global routes
Expand Down Expand Up @@ -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
}
}
}

0 comments on commit 699dc33

Please sign in to comment.