aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Mapper/TimelineMapper.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-11 22:21:12 +0800
committercrupest <crupest@outlook.com>2021-02-11 22:21:12 +0800
commit410032dbbc69e161ace03d68fea1934269c984ba (patch)
treed23f6b1e00a7002d59f4265b9e94306a33fd9991 /BackEnd/Timeline/Models/Mapper/TimelineMapper.cs
parent840927cc6fe826f25de165da84876e8e676106a8 (diff)
downloadtimeline-410032dbbc69e161ace03d68fea1934269c984ba.tar.gz
timeline-410032dbbc69e161ace03d68fea1934269c984ba.tar.bz2
timeline-410032dbbc69e161ace03d68fea1934269c984ba.zip
...
Diffstat (limited to 'BackEnd/Timeline/Models/Mapper/TimelineMapper.cs')
-rw-r--r--BackEnd/Timeline/Models/Mapper/TimelineMapper.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Models/Mapper/TimelineMapper.cs b/BackEnd/Timeline/Models/Mapper/TimelineMapper.cs
index 33ee9593..1f10c123 100644
--- a/BackEnd/Timeline/Models/Mapper/TimelineMapper.cs
+++ b/BackEnd/Timeline/Models/Mapper/TimelineMapper.cs
@@ -66,6 +66,8 @@ namespace Timeline.Models.Mapper
public async Task<HttpTimelinePost> MapToHttp(TimelinePostEntity entity, string timelineName, IUrlHelper urlHelper)
{
+ _ = timelineName;
+
await _database.Entry(entity).Collection(p => p.DataList).LoadAsync();
await _database.Entry(entity).Reference(e => e.Author).LoadAsync();