Fix check auth bug

This commit is contained in:
Moe Poi ~ 2022-05-23 01:16:45 +07:00
parent 0d4039cf9f
commit b661d9cfd2

View file

@ -29,10 +29,11 @@ Future<bool> checkSessionExist() async {
if (res['statusCode'] == 200) { if (res['statusCode'] == 200) {
return true; return true;
} } else {
removeSession(); removeSession();
return false; return false;
} }
}
return false; return false;
} }