fix bug in settings resolver

This commit is contained in:
Michael Schramm 2020-06-16 10:03:00 +02:00
parent ed9638bcf9
commit 99fd0b4dc7
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
### Changed
### Fixed
- bug in settings resolver with nullable fields
### Security
- container now runs as non root user

View File

@ -5,8 +5,8 @@ export class SettingModel {
@Field(() => ID)
readonly key: string
@Field()
readonly value: string
@Field({ nullable: true })
readonly value?: string
@Field()
readonly isTrue: boolean