Removed " " from login

This commit is contained in:
Tihanyi Marcell
2023-06-12 20:09:11 +02:00
parent 3857896d6c
commit e255182b93
2 changed files with 4 additions and 6 deletions

View File

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