Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit c731065

Browse files
committed
amount -> amountMRR
1 parent 1fc45cb commit c731065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/subscriptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Subscriptions.prototype.print = function () {
151151
for (var i = 0; i < list.length; i += 1) {
152152
var s = list[i];
153153
var c = s.customer;
154-
var a = Math.round(amount(s) * 100) / 100.0;
154+
var a = Math.round(amountMrr(s) * 100) / 100.0;
155155
console.log([c.email, s.status, s.plan.name, '$' + a].join(' - '));
156156
total += a;
157157
}

0 commit comments

Comments
 (0)