diff options
| author | crupest <crupest@outlook.com> | 2020-12-17 23:44:40 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2020-12-17 23:44:40 +0800 |
| commit | 5cbc306fc82bf14157ced4ff8b935191d20dae5d (patch) | |
| tree | f5ce5a6ffebab52a4a990faa0d12937244cc3185 /BackEnd/Timeline/Services | |
| parent | b9e55a05730cf4ede8dd5bd7a6f9befe5bc3580e (diff) | |
| download | timeline-5cbc306fc82bf14157ced4ff8b935191d20dae5d.tar.gz timeline-5cbc306fc82bf14157ced4ff8b935191d20dae5d.tar.bz2 timeline-5cbc306fc82bf14157ced4ff8b935191d20dae5d.zip | |
...
Diffstat (limited to 'BackEnd/Timeline/Services')
| -rw-r--r-- | BackEnd/Timeline/Services/HighlightTimelineService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Services/HighlightTimelineService.cs b/BackEnd/Timeline/Services/HighlightTimelineService.cs index ea3e4c7e..b19efe21 100644 --- a/BackEnd/Timeline/Services/HighlightTimelineService.cs +++ b/BackEnd/Timeline/Services/HighlightTimelineService.cs @@ -108,13 +108,13 @@ namespace Timeline.Services public async Task<List<TimelineInfo>> GetHighlightTimelines()
{
- var entities = await _database.HighlightTimelines.OrderBy(t => t.Order).Select(t => new { t.Id }).ToListAsync();
+ var entities = await _database.HighlightTimelines.OrderBy(t => t.Order).Select(t => new { t.TimelineId }).ToListAsync();
var result = new List<TimelineInfo>();
foreach (var entity in entities)
{
- result.Add(await _timelineService.GetTimelineById(entity.Id));
+ result.Add(await _timelineService.GetTimelineById(entity.TimelineId));
}
return result;
|
