"Update default count value from 10 to 20 in VaultPage component and vault API"
This commit is contained in:
1 parent
ddf2006285
commit
01ee184044
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -61,7 +61,7 @@ const vault = {
|
||||
const title = req.query.title || '';
|
||||
const page = Math.max(parseInt(req.query.page) || 1, 1);
|
||||
const mincount = 10;
|
||||
const count = Math.max(parseInt(req.query.count) || 10, mincount);
|
||||
const count = Math.max(parseInt(req.query.count) || 20, mincount);
|
||||
const skip = (page - 1) * count;
|
||||
|
||||
const brewsQuery = buildBrewsQuery(req.query.legacy, req.query.v3);
|
||||
|
||||
Reference in new issue
Block a user