mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
ehe
This commit is contained in:
parent
690f6eaf94
commit
bb95c21a78
@ -222,10 +222,10 @@ app.get("/avatars/:v", async function (req, res) {
|
|||||||
|
|
||||||
res.send(respon);
|
res.send(respon);
|
||||||
} else {
|
} else {
|
||||||
res.status(400).send("pls gib ID :3");
|
res.status(400).json("pls gib ID :3");
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
res.status(500).send("whoops >~<");
|
res.status(500).json("whoops (error 500) >~<");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user