Skip to content

Commit

Permalink
#71 fix broken api after upgrade to 1.118
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-Franz authored Oct 15, 2024
1 parent e01fc41 commit 0783c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion immich_auto_album.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 0783c1e

Please sign in to comment.