We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92a796 commit 196ae70Copy full SHA for 196ae70
src/routers/validator.ts
@@ -58,12 +58,14 @@ const confirmThreshold = Joi.number()
58
.integer();
59
const includePending = Joi.boolean();
60
61
+const max32bit = 2147483647;
62
+
63
export const paginationSchema = {
64
itemsPerPage: Joi.number()
65
.positive()
66
.integer()
67
.min(1)
- .max(100)
68
+ .max(max32bit - 1)
69
};
70
71
export const utxoPaginationSchema = {
0 commit comments