From 0783c1ee4ab2afd6117d9897b8ddd5fdd3a5cc4c Mon Sep 17 00:00:00 2001 From: Felix Franz Date: Tue, 15 Oct 2024 19:49:39 +0200 Subject: [PATCH] #71 fix broken api after upgrade to 1.118 --- immich_auto_album.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/immich_auto_album.py b/immich_auto_album.py index cd864f9..af3f69c 100644 --- a/immich_auto_album.py +++ b/immich_auto_album.py @@ -296,7 +296,7 @@ def fetchServerVersion() -> dict: # This API call was only introduced with version 1.106.1, so it will fail # for older versions. # Initialize the version with the latest version without this API call - r = requests.get(root_url+'server-info/version', **requests_kwargs) + r = requests.get(root_url+'server/version', **requests_kwargs) if r.status_code == 200: version = r.json() logging.info("Detected Immich server version %s.%s.%s", version['major'], version['minor'], version['patch'])