diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e9e00b9..656af09f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [2.0.3] - 2024-04-10 + +- [#203](https://github.com/os2display/display-api-service/pull/203) + - Changed theme->addLogo() to theme->setLogo(). + ## [2.0.2] - 2024-04-10 - [#202](https://github.com/os2display/display-api-service/pull/202) diff --git a/src/State/ThemeProcessor.php b/src/State/ThemeProcessor.php index 7e60ba9c..fd454f9e 100644 --- a/src/State/ThemeProcessor.php +++ b/src/State/ThemeProcessor.php @@ -49,7 +49,7 @@ protected function fromInput(mixed $object, Operation $operation, array $uriVari throw new DataTransformerException('Unknown media resource'); } - $theme->addLogo($logo); + $theme->setLogo($logo); } return $theme;