mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-07-06 20:57:54 +02:00
Update flutter_local_notifications to min v19.0.0. Update app to use Swift Package Manager build process for all packages.
This commit is contained in:
@@ -86,12 +86,12 @@ class AuthService {
|
||||
}
|
||||
try {
|
||||
final token = await _helper.getToken();
|
||||
if (token?.accessToken == null) {
|
||||
if (token.accessToken == null) {
|
||||
log('OAuth error: token null or missing accessToken');
|
||||
return null;
|
||||
}
|
||||
final tokenMap = {
|
||||
'accessToken': token!.accessToken,
|
||||
'accessToken': token.accessToken,
|
||||
'refreshToken': token.refreshToken,
|
||||
};
|
||||
final tokenJson = jsonEncode(tokenMap);
|
||||
|
||||
Reference in New Issue
Block a user