chore(mobile): Adds dart format to static analysis (#7193)

Adds dart format to static analysis
This commit is contained in:
martyfuhry 2024-02-18 23:30:24 -05:00 committed by GitHub
parent 9e7cb52413
commit dd53795953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -110,7 +110,8 @@ class WebsocketNotifier extends StateNotifier<WebsocketState> {
final endpoint = Uri.parse(Store.get(StoreKey.serverEndpoint));
final headers = {"x-immich-user-token": accessToken};
if (endpoint.userInfo.isNotEmpty) {
headers["Authorization"] = "Basic ${base64.encode(utf8.encode(endpoint.userInfo))}";
headers["Authorization"] =
"Basic ${base64.encode(utf8.encode(endpoint.userInfo))}";
}
debugPrint("Attempting to connect to websocket");