index.js: update renderError call

This commit is contained in:
martin-mfg
2025-11-02 11:20:22 +01:00
parent 82a2f432c3
commit 863de6dfc8
+9 -7
View File
@@ -95,14 +95,16 @@ export default async (req, res) => {
) {
return res.send(
renderError(
"Something went wrong",
"Username, repository or owner contains unsafe characters",
{
title_color,
text_color,
bg_color,
border_color,
theme,
message: "Something went wrong",
secondaryMessage: "Username, repository or owner contains unsafe characters",
renderOptions: {
title_color,
text_color,
bg_color,
border_color,
theme,
},
},
),
);