diff --git a/index.js b/index.js index 62fad2f..a55bc7d 100644 --- a/index.js +++ b/index.js @@ -226,6 +226,8 @@ app.get('/list', (req, res) => { }); app.get('/ids', (req, res) => { + const type = req.query.type; + let list; if (!type || type === '' || type === 'regular') { list = levels.ids.regular;