mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 18:49:44 +09:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
2
mobile/openapi/lib/api_helper.dart
generated
2
mobile/openapi/lib/api_helper.dart
generated
@@ -168,7 +168,7 @@ DateTime? mapDateTime(dynamic map, String key, [String? pattern]) {
|
||||
if (value is int) {
|
||||
millis = value;
|
||||
} else if (value is String) {
|
||||
if (pattern == _dateEpochMarker) {
|
||||
if (_isEpochMarker(pattern)) {
|
||||
millis = int.tryParse(value);
|
||||
} else {
|
||||
return DateTime.tryParse(value);
|
||||
|
||||
Reference in New Issue
Block a user