mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 20:20:09 +09:00
Update [uuid].js
This commit is contained in:
parent
c19e797fa4
commit
4d0b82dee3
@ -12,7 +12,7 @@ const RawPlayerName = async (req, res) => {
|
|||||||
const response = await getName(uuid);
|
const response = await getName(uuid);
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
if (response.status === 204 || response.status > 400) {
|
if (response.status === 204 || response.status > 400) {
|
||||||
return res.status(200).send("404");
|
return res.status(200).send("読み込み中...");
|
||||||
}
|
}
|
||||||
const username = data.username;
|
const username = data.username;
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
|
Loading…
Reference in New Issue
Block a user