mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
test a
This commit is contained in:
parent
75affcf7c7
commit
f3a5c690e3
@ -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 New Issue
Block a user