mirror of
https://github.com/gmbrax/Pilgrim.git
synced 2026-11-09 17:20:17 +00:00
Merge pull request #58 from gmbrax/fix/edit-photo-not-working
Fix the photo edit to properly pass the original photo hash that was missing
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user