mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 17:23:18 +00:00
Update username-suggestions-unauthed.ts
This commit is contained in:
1 parent
ca8b033f78
commit
3670664080
1 file changed
+2
-2
@@ -29,9 +29,9 @@ router.get(
|
||||
);
|
||||
}
|
||||
|
||||
// return a random suggestion
|
||||
// TODO: return a random suggestion
|
||||
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 });
|
||||
},
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user