mirror of
https://github.com/immich-app/immich.git
synced 2026-04-25 10:39:50 -04:00
chore: update version check to v3
This commit is contained in:
parent
6af125b3f8
commit
9df7efcea5
@ -66,7 +66,7 @@ class SyncApiRepository {
|
||||
SyncRequestType.peopleV1,
|
||||
if (serverVersion < const SemVer(major: 2, minor: 6, patch: 0)) SyncRequestType.assetFacesV1,
|
||||
if (serverVersion >= const SemVer(major: 2, minor: 6, patch: 0)) SyncRequestType.assetFacesV2,
|
||||
if (serverVersion >= const SemVer(major: 2, minor: 7, patch: 0)) SyncRequestType.assetOcrV1,
|
||||
if (serverVersion >= const SemVer(major: 3, minor: 0, patch: 0)) SyncRequestType.assetOcrV1,
|
||||
],
|
||||
reset: shouldReset,
|
||||
).toJson(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user