Skip to content

fix: align list DTO with API thumbnail_url field#311

Merged
zigzagdev merged 2 commits intomainfrom
chore/fix-property
May 5, 2026
Merged

fix: align list DTO with API thumbnail_url field#311
zigzagdev merged 2 commits intomainfrom
chore/fix-property

Conversation

@zigzagdev
Copy link
Copy Markdown
Owner

No description provided.

zigzagdev and others added 2 commits May 5, 2026 15:12
List endpoint returns `thumbnail_url`, but the DTO and mapper read
`thumbnail`, so the list VM's thumbnailUrl was always undefined and
HeritageCard fell back to the no-image placeholder.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The detail VM mapper synthesizes a list DTO to delegate to
toWorldHeritageVm. After the list DTO field rename it still wrote
`thumbnail`, which is no longer assignable to ApiWorldHeritageDto.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zigzagdev zigzagdev self-assigned this May 5, 2026
Copy link
Copy Markdown
Owner Author

@zigzagdev zigzagdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@zigzagdev zigzagdev merged commit f33aba7 into main May 5, 2026
1 check passed
@zigzagdev zigzagdev deleted the chore/fix-property branch May 5, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant