1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 03:14:40 -05:00
This commit is contained in:
ashley 2024-09-07 12:39:25 +00:00
parent 75affcf7c7
commit f3a5c690e3

View file

@ -228,6 +228,8 @@ module.exports = function (app, config, renderTemplate) {
const inv_vid = data?.vid; const inv_vid = data?.vid;
const desc = data?.desc || ""; const desc = data?.desc || "";
if(k.Error) res.send("error")
let d = false; let d = false;
if (desc !== "[object Object]") { if (desc !== "[object Object]") {
d = desc.toString().replace(/\n/g, " <br> "); d = desc.toString().replace(/\n/g, " <br> ");