Skip to content

Fix asset metadata structure when updating stories#208

Open
carlgu wants to merge 2 commits into
5.xfrom
storyblok-asset-structure
Open

Fix asset metadata structure when updating stories#208
carlgu wants to merge 2 commits into
5.xfrom
storyblok-asset-structure

Conversation

@carlgu
Copy link
Copy Markdown
Contributor

@carlgu carlgu commented May 26, 2026

No description provided.

Comment thread src/Api/ManagementApi.php Outdated
// If "meta_data" is an empty array set it to empty stdClass
if (isset($value['meta_data']) && empty($value['meta_data'])) {
$value['meta_data'] = new \stdClass();
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We could early-continue here, but it is fine as-is as well

Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md
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.

2 participants