1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-16 23:14:39 -05:00
This commit is contained in:
ashley 2024-08-31 12:47:02 +00:00
parent 690f6eaf94
commit bb95c21a78

View file

@ -222,10 +222,10 @@ app.get("/avatars/:v", async function (req, res) {
res.send(respon);
} else {
res.status(400).send("pls gib ID :3");
res.status(400).json("pls gib ID :3");
}
} catch (error) {
res.status(500).send("whoops >~<");
res.status(500).json("whoops (error 500) >~<");
}
});