aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/Mapper/TimelineMapper.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-29 19:29:35 +0800
committercrupest <crupest@outlook.com>2021-04-29 19:29:35 +0800
commitbf4c48980f81e566065c07f3fe534ce7551ebdcc (patch)
treeb34c57efd216c5b94845a298ffcb7480d773784c /BackEnd/Timeline/Services/Mapper/TimelineMapper.cs
parentfc9eb47119dd33d67c1e4daba18608bfb3355f54 (diff)
downloadtimeline-bf4c48980f81e566065c07f3fe534ce7551ebdcc.tar.gz
timeline-bf4c48980f81e566065c07f3fe534ce7551ebdcc.tar.bz2
timeline-bf4c48980f81e566065c07f3fe534ce7551ebdcc.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services/Mapper/TimelineMapper.cs')
-rw-r--r--BackEnd/Timeline/Services/Mapper/TimelineMapper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Services/Mapper/TimelineMapper.cs b/BackEnd/Timeline/Services/Mapper/TimelineMapper.cs
index 5ee90a8f..d3159423 100644
--- a/BackEnd/Timeline/Services/Mapper/TimelineMapper.cs
+++ b/BackEnd/Timeline/Services/Mapper/TimelineMapper.cs
@@ -85,8 +85,8 @@ namespace Timeline.Services.Mapper
color: entity.Color,
createTime: entity.CreateTime,
lastModified: entity.LastModified,
- isHighlight: await _highlightTimelineService.IsHighlightTimeline(entity.Id),
- isBookmark: userId is not null && await _bookmarkTimelineService.IsBookmark(userId.Value, entity.Id, false, false),
+ isHighlight: await _highlightTimelineService.IsHighlightTimelineAsync(entity.Id),
+ isBookmark: userId is not null && await _bookmarkTimelineService.IsBookmarkAsync(userId.Value, entity.Id, false, false),
manageable: manageable,
postable: postable,
links: new HttpTimelineLinks(