1
0
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:
Puyodead1 2023-12-23 17:36:30 -05:00
parent 83fa03e392
commit 56680f670b
No known key found for this signature in database
GPG Key ID: BA5F91AAEF68E5CE

View File

@ -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 });
}, },
); );