Skip to content

Commit 32c6b81

Browse files
authored
Merge pull request #203 from aroskanalen/hotfix/398-set-logo
398: Changed theme->addLogo() to theme->setLogo()
2 parents c222069 + 8c87164 commit 32c6b81

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
- [#203](https://github.com/os2display/display-api-service/pull/203)
8+
- Changed theme->addLogo() to theme->setLogo().
9+
710
## [2.0.2] - 2024-04-10
811

912
- [#202](https://github.com/os2display/display-api-service/pull/202)

src/State/ThemeProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected function fromInput(mixed $object, Operation $operation, array $uriVari
4949
throw new DataTransformerException('Unknown media resource');
5050
}
5151

52-
$theme->addLogo($logo);
52+
$theme->setLogo($logo);
5353
}
5454

5555
return $theme;

0 commit comments

Comments
 (0)