mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-29 22:28:44 +01:00
this bug existed and i didint knew it aaaaaaaaaaaaaaaaa
This commit is contained in:
parent
243c4e9c1c
commit
eef471c9a2
1 changed files with 6 additions and 5 deletions
|
@ -224,8 +224,8 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let support;
|
let support;
|
||||||
if (String(json.Description) !== "[object Object]") {
|
if (String(inv_vid.description) !== "[object Object]") {
|
||||||
support = (PATREON_REGEX.exec(json.Description) ?? {}).groups;
|
support = (PATREON_REGEX.exec(inv_vid.description) ?? {}).groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
let badges = "";
|
let badges = "";
|
||||||
|
@ -283,7 +283,8 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
inv_vid,
|
inv_vid,
|
||||||
lyrics: "",
|
lyrics: "",
|
||||||
});
|
});
|
||||||
} catch {
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
return res.redirect("/?fromerror=41");
|
return res.redirect("/?fromerror=41");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue