mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 03:34:46 -05:00
ehe
This commit is contained in:
parent
690f6eaf94
commit
bb95c21a78
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue