mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
chore(server): update openapi (#2205)
This commit is contained in:
2
mobile/openapi/lib/auth/http_basic_auth.dart
generated
2
mobile/openapi/lib/auth/http_basic_auth.dart
generated
@@ -17,7 +17,7 @@ class HttpBasicAuth implements Authentication {
|
||||
String password;
|
||||
|
||||
@override
|
||||
void applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams) {
|
||||
Future<void> applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams,) async {
|
||||
if (username.isNotEmpty && password.isNotEmpty) {
|
||||
final credentials = '$username:$password';
|
||||
headerParams['Authorization'] = 'Basic ${base64.encode(utf8.encode(credentials))}';
|
||||
|
||||
Reference in New Issue
Block a user