Skip to content

Commit

Permalink
ContentUpdateMapper fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Aug 11, 2023
1 parent a64c8d8 commit fcd754b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/Data/Mapper/ContentUpdateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ private function configureOptions(OptionsResolver $optionsResolver)
{
$optionsResolver
->setRequired(['languageCode', 'contentType', 'currentFields'])
->setAllowedTypes('contentType', ContentType::class);
->setAllowedTypes('contentType', ContentType::class)
->setDefault('currentFields', []);
}
}

Expand Down

0 comments on commit fcd754b

Please sign in to comment.