diff options
author | crupest <crupest@outlook.com> | 2019-11-18 19:43:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-11-18 19:43:33 +0800 |
commit | f927dcf674094857ba9729789ed0a5b272495332 (patch) | |
tree | 6280d70a821b3b5248817c29c58c2365ad1f63d9 /Timeline | |
parent | 468d7f4c416d4469375b7170beb5e388737c0970 (diff) | |
download | timeline-f927dcf674094857ba9729789ed0a5b272495332.tar.gz timeline-f927dcf674094857ba9729789ed0a5b272495332.tar.bz2 timeline-f927dcf674094857ba9729789ed0a5b272495332.zip |
Continue to write tests.
Diffstat (limited to 'Timeline')
-rw-r--r-- | Timeline/Models/Timeline.cs | 1 | ||||
-rw-r--r-- | Timeline/Services/TimelineService.cs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Timeline/Models/Timeline.cs b/Timeline/Models/Timeline.cs index 85fefff5..752c698d 100644 --- a/Timeline/Models/Timeline.cs +++ b/Timeline/Models/Timeline.cs @@ -1,6 +1,5 @@ using System;
using System.Collections.Generic;
-using Timeline.Entities;
namespace Timeline.Models
{
diff --git a/Timeline/Services/TimelineService.cs b/Timeline/Services/TimelineService.cs index 1d199aae..1e64353c 100644 --- a/Timeline/Services/TimelineService.cs +++ b/Timeline/Services/TimelineService.cs @@ -717,7 +717,7 @@ namespace Timeline.Services return new BaseTimelineInfo
{
- Description = timelineEntity.Description,
+ Description = timelineEntity.Description ?? "",
Owner = username,
Visibility = timelineEntity.Visibility,
Members = memberUsernames.ToList()
|