mirror of
https://github.com/stronk-dev/RandomChad.git
synced 2025-07-05 10:35:08 +02:00
✨ allow larger Rocketeer queries, nice work on stretching the limits alucard.eth :)
This commit is contained in:
parent
624b660f3b
commit
9edd142975
@ -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 )
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user