Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Commit

Permalink
Adds new attributes for repos page
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed Aug 19, 2015
1 parent 495fda0 commit 538bff3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion controllers/repos/partial/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,21 @@ controller.reduce = function(repos) {
description: repo.description,
owner: {
id: repo.owner.id,
login: repo.owner.login
login: repo.owner.login,
avatar_url: repo.owner.avatar_url
},
created_at: repo.created_at,
updated_at: repo.updated_at,
pushed_at: repo.pushed_at,
size: repo.size,
forks_count: repo.forks_count,
open_issues_count: repo.open_issues_count,
stargazers_count: repo.stargazers_count,
subscribers_count: repo.subscribers_count,
default_branch: repo.default_branch,
homepage: repo.homepage || "",
has_issues: repo.has_issues,
has_pages: repo.has_pages,
bower: repo.bower,
npm: repo.npm
};
Expand Down

0 comments on commit 538bff3

Please sign in to comment.