Skip to content

Commit

Permalink
Merge pull request #3 from JaviSoto/syntax-error
Browse files Browse the repository at this point in the history
Fixing syntax error
  • Loading branch information
NachoSoto committed Jan 14, 2013
2 parents 7232fbd + a470e5d commit f2bee61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphite.js
Expand Up @@ -41,7 +41,7 @@ Graphite.prototype.sendMetrics = function(metrics) {

metrics.forEach(function(metricObject) {
var key = metricObject.name,
value = metricObject.count.,
value = metricObject.count,
timestamp = metricObject.timestamp || '';

message += apiKey + '.' + key + ' ' + value + ' ' + timestamp + '\n';
Expand Down

0 comments on commit f2bee61

Please sign in to comment.