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

Commit

Permalink
Merge pull request #449 from braydonf/bug-scope
Browse files Browse the repository at this point in the history
Fix undefined ref issue
  • Loading branch information
braydonf authored May 24, 2017
2 parents 2bc3367 + 6ffcb66 commit 58f85dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/server/routes/frames.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ FramesRouter.prototype.addShardToFrame = function(req, res, next) {
userId: req.user.uuid,
event: 'User Upload Rate Limited',
properties: {
bytesUploaded: req.user.bytesUploaded
monthlyBytes: req.user.bytesUploaded.lastMonthBytes,
dailyBytes: req.user.bytesUploaded.lastDayBytes,
hourlyBytes: req.user.bytesUploaded.lastHourBytes
}
});
return next(new errors.TransferRateError(
Expand Down

0 comments on commit 58f85dc

Please sign in to comment.