mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
parent
78a2fa8569
commit
2e39243670
195 changed files with 1907 additions and 1545 deletions
mobile/openapi/lib
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue