aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/payments.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.ts b/routes/payments.ts
index 0c022632..2518bd7a 100644
--- a/routes/payments.ts
+++ b/routes/payments.ts
@@ -93,7 +93,7 @@ export default {
} = req;
if (!aid || aid === "undefined") aid = id;
- limit = parseInt(limit) || 25;
+ limit = parseInt(limit);
offset = parseInt(offset) || 0;
const range = start || end ? -1 : limit - 1;