You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-07-16 07:24:40 +02:00
fix: no floats (replace with doubles) (#10218)
* fix: no floats (replace with doubles) * Update server/src/utils/misc.ts Co-authored-by: Zack Pollard <zackpollard@ymail.com> --------- Co-authored-by: Zack Pollard <zackpollard@ymail.com>
This commit is contained in:
@ -53,7 +53,7 @@ class DuplicateDetectionConfig {
|
||||
|
||||
return DuplicateDetectionConfig(
|
||||
enabled: mapValueOfType<bool>(json, r'enabled')!,
|
||||
maxDistance: mapValueOfType<double>(json, r'maxDistance')!,
|
||||
maxDistance: (mapValueOfType<num>(json, r'maxDistance')!).toDouble(),
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user