Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
ferbar committed Aug 21, 2024
1 parent 5730236 commit ad785ab
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 @@ -390,7 +390,7 @@ def createAlbum(albumName: str, albumOrder: str) -> str:

if albumOrder:
data = {
'order': 'asc',
'order': albumOrder
}
r = requests.patch(root_url+apiEndpoint+f'/{albumId}', json=data, **requests_kwargs)
assert r.status_code in [200, 201]
Expand Down

0 comments on commit ad785ab

Please sign in to comment.