Merge branch 'fix/edit-photo-not-working' into development

Merged the fix to allow the edit of the photos that was brokenakejillow d
This commit is contained in:
Gustavo Henrique Santos Souza de Miranda 2025-07-18 01:20:31 -03:00
commit b8a5f2db15
1 changed files with 2 additions and 1 deletions

View File

@ -611,7 +611,8 @@ class EditEntryScreen(Screen):
addition_date=original_photo.addition_date, addition_date=original_photo.addition_date,
caption=photo_data["caption"], caption=photo_data["caption"],
entries=original_photo.entries if original_photo.entries is not None else [], entries=original_photo.entries if original_photo.entries is not None else [],
id=original_photo.id id=original_photo.id,
photo_hash=original_photo.photo_hash,
) )
result = photo_service.update(original_photo, updated_photo) result = photo_service.update(original_photo, updated_photo)