Login add " ", Comment rename

This commit is contained in:
Tihanyi Marcell
2023-06-08 13:47:40 +02:00
parent 87b8cbb60f
commit da06e400e1
3 changed files with 5 additions and 5 deletions

View File

@@ -169,7 +169,7 @@ class KretaClient {
Map? loginRes = await postAPI(KretaAPI.login,
headers: headers,
body: User.loginBody(
username: loginUser.username,
username: loginUser.username.replaceAll(' ', '') + ' ',
password: loginUser.password,
instituteCode: loginUser.instituteCode,
));