Skip to content

Commit

Permalink
Merge pull request #72 from Felix-Franz/patch-1
Browse files Browse the repository at this point in the history
#71 fix broken api after upgrade to 1.118
  • Loading branch information
Salvoxia authored Oct 15, 2024
2 parents e01fc41 + 0783c1e commit a5be0d3
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 a5be0d3

Please sign in to comment.