Merge pull request #597 from arne182/patch-1

Add Logging for Immich
This commit is contained in:
Evgenii Burmakin 2024-12-28 11:53:01 +01:00 committed by GitHub
commit 4a4d27bb33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,8 @@ class Immich::RequestPhotos
immich_api_base_url, headers: headers, body: request_body(page)
).body
)
Rails.logger.debug('==== IMMICH RESPONSE ====')
Rails.logger.debug(response)
items = response.dig('assets', 'items')
break if items.blank?