Merge pull request #72 from Felix-Franz/patch-1
#71 fix broken api after upgrade to 1.118
This commit is contained in:
commit
a5be0d3cf3
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Reference in a new issue