mirror of
https://github.com/immich-app/immich.git
synced 2025-12-03 23:29:46 +09:00
chore(server): update openapi (#2205)
This commit is contained in:
2
mobile/openapi/lib/auth/oauth.dart
generated
2
mobile/openapi/lib/auth/oauth.dart
generated
@@ -16,7 +16,7 @@ class OAuth implements Authentication {
|
||||
String accessToken;
|
||||
|
||||
@override
|
||||
void applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams) {
|
||||
Future<void> applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams,) async {
|
||||
if (accessToken.isNotEmpty) {
|
||||
headerParams['Authorization'] = 'Bearer $accessToken';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user