fix access token stuff
This commit is contained in:
parent
e5d74ec29d
commit
b7b4394d7e
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ class ClientController extends AsyncNotifier<int> {
|
|||
|
||||
Future<String?> getAccessToken() async {
|
||||
final response = await _sendCommand("get_account_info", {});
|
||||
return response["access_token"];
|
||||
return response?["access_token"];
|
||||
}
|
||||
|
||||
Future<void> leaveRoom(Room room) async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue