sync hiba javítás?
This commit is contained in:
parent
afcff10862
commit
21d54d6ccd
@ -276,7 +276,11 @@ class KretaClient {
|
|||||||
|
|
||||||
print("REFRESH TOKEN BELOW");
|
print("REFRESH TOKEN BELOW");
|
||||||
print(refreshToken);
|
print(refreshToken);
|
||||||
|
print(loginUser.accessTokenExpire);
|
||||||
|
print(DateTime.now().toIso8601String());
|
||||||
|
if(!DateTime.now().isAfter(loginUser.accessTokenExpire)) {
|
||||||
|
return 'success';
|
||||||
|
}
|
||||||
if (refreshToken != null) {
|
if (refreshToken != null) {
|
||||||
// print("REFRESHING LOGIN");
|
// print("REFRESHING LOGIN");
|
||||||
Map? res = await postAPI(KretaAPI.login,
|
Map? res = await postAPI(KretaAPI.login,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user