null book description throws

This commit is contained in:
Robert McRackan 2021-09-13 11:05:44 -04:00
parent 8fe3896d76
commit 4cf999c84d
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<Version>5.7.2.1</Version> <Version>5.7.3.1</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -100,7 +100,7 @@ namespace DataLayer
// simple assigns // simple assigns
Title = title.Trim(); Title = title.Trim();
Description = description.Trim(); Description = description?.Trim();
LengthInMinutes = lengthInMinutes; LengthInMinutes = lengthInMinutes;
ContentType = contentType; ContentType = contentType;