|
|
|
@ -110,9 +110,10 @@ module.exports = (app, router) => { |
|
|
|
|
if (req.params.id.toLowerCase() === 'queue') {return next();} |
|
|
|
|
return res.status(400).send("A series with that ID doesn't exist!"); |
|
|
|
|
} |
|
|
|
|
let {name, id, romaji, kanji, air, rating, likes, seasons, characters, altNames, genres, tags, nsfw, nsfwReason, synopsis, numericalId, completed, publishers, studios} = series; |
|
|
|
|
let {name, id, romaji, kanji, air, rating, likes, seasons, characters, altNames, genres, tags, nsfw, nsfwReason, numericalId, completed, publishers, studios} = series; |
|
|
|
|
return res.json({ |
|
|
|
|
name, id, romaji, kanji, air, rating, likes, seasons, characters, altNames, genres, tags, nsfw, nsfwReason, synopsis, numericalId, completed, publishers, studios, |
|
|
|
|
name, id, romaji, kanji, air, rating, likes, seasons, characters, altNames, genres, tags, nsfw, nsfwReason, numericalId, completed, publishers, studios, |
|
|
|
|
synopsis: {by: series.synopsis.by, synopsis: series.synopsis.synopsis}, |
|
|
|
|
meta: {completed: series.meta.completed, creator: series.meta.creator, locked: series.meta.locked} |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|