mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:37:51 +01: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 desc = data?.desc || "";
|
||||
|
||||
if(k.Error) res.send("error")
|
||||
|
||||
let d = false;
|
||||
if (desc !== "[object Object]") {
|
||||
d = desc.toString().replace(/\n/g, " <br> ");
|
||||
|
|
Loading…
Reference in a new issue