mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +01:00
Update username-suggestions-unauthed.ts
This commit is contained in:
parent
83fa03e392
commit
56680f670b
@ -29,9 +29,9 @@ router.get(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// return a random suggestion
|
// TODO: return a random suggestion
|
||||||
if (!globalName) return res.json({ username: "" });
|
if (!globalName) return res.json({ username: "" });
|
||||||
// return a suggestion based on the globalName
|
// TODO: return a suggestion based on the globalName
|
||||||
return res.json({ username: globalName });
|
return res.json({ username: globalName });
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user