1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-06 13:29:55 +00:00

fix: missing deletion

This commit is contained in:
Florian Bouillon 2024-09-26 00:43:22 +02:00
parent ce8d5590ef
commit bbd5d28dc6

View File

@ -251,7 +251,6 @@ server
*/
.get('/:lang/:endpoint/:id/:subid', (req: CustomRequest, res) => {
let { id, lang, endpoint, subid } = req.params
console.log(req.params)
if (subid.endsWith('.json')) {
subid = subid.replace('.json', '')