Update changelog

This commit is contained in:
Eugene Burmakin 2024-09-02 18:34:57 +02:00
parent fb8b2958b6
commit ff9735b972
2 changed files with 4 additions and 3 deletions

View file

@ -23,6 +23,10 @@ deploy:
- Importing geodata from Immich will now not throw an error in the end of the process
### Changed
- A notification about an existing import with the same name will now show the import name
## [0.12.2] — 2024-08-28

View file

@ -14,9 +14,6 @@ class Immich::ImportGeodata
raise ArgumentError, 'Immich URL is missing' if user.settings['immich_url'].blank?
immich_data = retrieve_immich_data
file = File.open('tmp/imports/immich_data.json', 'w')
file.write(immich_data)
file.close
immich_data_json = parse_immich_data(immich_data)
file_name = file_name(immich_data_json)
import = user.imports.find_or_initialize_by(name: file_name, source: :immich_api)