Add Logging for Immich

This commit is contained in:
Arne Schwarck 2024-12-27 21:52:33 +01:00 committed by GitHub
parent d9bade8fe5
commit a6b04ba49a
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?