mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-23 11:22:10 +00:00
fix: missing deletion
This commit is contained in:
parent
5919bdcfa5
commit
d5995d7723
@ -251,7 +251,6 @@ server
|
|||||||
*/
|
*/
|
||||||
.get('/:lang/:endpoint/:id/:subid', (req: CustomRequest, res) => {
|
.get('/:lang/:endpoint/:id/:subid', (req: CustomRequest, res) => {
|
||||||
let { id, lang, endpoint, subid } = req.params
|
let { id, lang, endpoint, subid } = req.params
|
||||||
console.log(req.params)
|
|
||||||
|
|
||||||
if (subid.endsWith('.json')) {
|
if (subid.endsWith('.json')) {
|
||||||
subid = subid.replace('.json', '')
|
subid = subid.replace('.json', '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user