[Fix] Invisible space username (#639)
You can send only spaces to the server and have a invisible username, this way you can remove the spaces and check and if it wasn't null after you know it's not just spaces
1 parent 9b52205 commit 4eae64b91a296d49e8bb1bc833f2531301eb459a
@RealMANI RealMANI authored on 16 Feb 2022
GitHub committed on 16 Feb 2022
Showing 1 changed file
View
api/src/routes/users/@me/index.ts