allow larger Rocketeer queries, nice work on stretching the limits alucard.eth :)

This commit is contained in:
Mentor Palokaj 2021-12-16 11:18:21 +01:00
parent 624b660f3b
commit 9edd142975

View File

@ -42,7 +42,7 @@ exports.multipleRocketeersFromRequest = async function( req, res, network='mainn
// Parse the request // Parse the request
let { ids } = req.query let { ids } = req.query
ids = ids.split( ',' ) ids = ids.split( ',' )
if( ids.length > 100 ) throw new Error( 'Please do not ask for so much data at once :)' ) if( ids.length > 250 ) throw new Error( 'Please do not ask for so much data at once :)' )
const rocketeers = await safelyReturnMultipleRocketeers( ids, network ) const rocketeers = await safelyReturnMultipleRocketeers( ids, network )
return res.json( rocketeers ) return res.json( rocketeers )