fix weird newlines
This commit is contained in:
parent
8c889222ce
commit
d539e177ec
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ let getToken = async (token) => {
|
|||
}
|
||||
);
|
||||
|
||||
username = await username.text();
|
||||
username = (await username.text()).replaceAll(/\s+/g,'');
|
||||
|
||||
try {
|
||||
username = (username.length > 1) ? username : '';
|
||||
|
|
Loading…
Reference in a new issue