Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(238)

Unified Diff: app/models/charm.js

Issue 11447043: Related charms pull updated commitCount value.
Patch Set: Related charms pull updated commitCount value. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | test/data/related.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/models/charm.js
=== modified file 'app/models/charm.js'
--- app/models/charm.js 2013-07-16 22:06:38 +0000
+++ app/models/charm.js 2013-07-17 19:57:58 +0000
@@ -401,7 +401,7 @@
id: data.id,
is_approved: data.is_approved,
name: data.name,
- commitCount: data.commitCount,
+ commitCount: data.code_source.revision,
downloads: data.downloads,
recent_commit_count: data.commits_in_past_30_days,
recent_download_count: data.downloads_in_past_30_days,
« no previous file with comments | « [revision details] ('k') | test/data/related.json » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b