Skip to content

Commit 196ae70

Browse files
majectyjoojis
authored andcommitted
Allow large page for hot fix
1 parent b92a796 commit 196ae70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/routers/validator.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ const confirmThreshold = Joi.number()
5858
.integer();
5959
const includePending = Joi.boolean();
6060

61+
const max32bit = 2147483647;
62+
6163
export const paginationSchema = {
6264
itemsPerPage: Joi.number()
6365
.positive()
6466
.integer()
6567
.min(1)
66-
.max(100)
68+
.max(max32bit - 1)
6769
};
6870

6971
export const utxoPaginationSchema = {

0 commit comments

Comments
 (0)