fixed project problems

This commit is contained in:
kima
2023-06-13 23:37:35 +02:00
parent 1c517a99f2
commit ea812e0b67
4 changed files with 74 additions and 75 deletions

View File

@@ -54,11 +54,6 @@ Future loginApi({
"content-type": "application/x-www-form-urlencoded",
};
String nonceStr = await Provider.of<KretaClient>(context, listen: false)
.getAPI(KretaAPI.nonce, json: false);
Nonce nonce = getNonce(nonceStr, username, instituteCode);
Map? res = await Provider.of<KretaClient>(context, listen: false)
.postAPI(KretaAPI.login,
headers: headers,