mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 03:14:40 -05:00
test a
This commit is contained in:
parent
75affcf7c7
commit
f3a5c690e3
1 changed files with 2 additions and 0 deletions
|
@ -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> ");
|
||||||
|
|
Loading…
Reference in a new issue