mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Update changelog
This commit is contained in:
parent
fb8b2958b6
commit
ff9735b972
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue