diff --git a/PlotLine/Services/CoreServices.cs b/PlotLine/Services/CoreServices.cs index 2e288323..14018194 100644 --- a/PlotLine/Services/CoreServices.cs +++ b/PlotLine/Services/CoreServices.cs @@ -8209,7 +8209,7 @@ public sealed class AssetService( AssetCustodyEventTypeID = model.AssetCustodyEventTypeID, Description = model.Description }, - model.CustodianNames, + model.CustodianNames ?? string.Empty, model.CustodianCharacterIds, model.CustodyRoleID); diff --git a/PlotLine/ViewModels/CoreViewModels.cs b/PlotLine/ViewModels/CoreViewModels.cs index 651494bb..7a22b4a7 100644 --- a/PlotLine/ViewModels/CoreViewModels.cs +++ b/PlotLine/ViewModels/CoreViewModels.cs @@ -1870,7 +1870,7 @@ public sealed class AssetCustodyCreateViewModel public int AssetCustodyEventTypeID { get; set; } public int CustodyRoleID { get; set; } public List CustodianCharacterIds { get; set; } = []; - public string CustodianNames { get; set; } = string.Empty; + public string? CustodianNames { get; set; } public string? Description { get; set; } public int? ReturnProjectID { get; set; } public int? ReturnBookID { get; set; }