diff options
author | crupest <crupest@outlook.com> | 2020-06-18 23:36:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-18 23:36:56 +0800 |
commit | 71ad72b6d3db3937a2b769fe1d64c8bb99702ba1 (patch) | |
tree | 6d5e383ad6f135ec40fc69f0f1fa16bfa2c56656 /Timeline/Services/TimelineService.cs | |
parent | ff9ac16d3ffe182d2429a6511ba61be67ed56a1c (diff) | |
download | timeline-71ad72b6d3db3937a2b769fe1d64c8bb99702ba1.tar.gz timeline-71ad72b6d3db3937a2b769fe1d64c8bb99702ba1.tar.bz2 timeline-71ad72b6d3db3937a2b769fe1d64c8bb99702ba1.zip |
Add integrated tests. And fix a behavior.
Diffstat (limited to 'Timeline/Services/TimelineService.cs')
-rw-r--r-- | Timeline/Services/TimelineService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/TimelineService.cs b/Timeline/Services/TimelineService.cs index e0b1b51d..73f6c8ef 100644 --- a/Timeline/Services/TimelineService.cs +++ b/Timeline/Services/TimelineService.cs @@ -541,7 +541,7 @@ namespace Timeline.Services throw new ArgumentNullException(nameof(timelineName));
var timelineId = await FindTimelineId(timelineName);
- var postEntities = await _database.TimelinePosts.OrderBy(p => p.Time).Where(p => p.TimelineId == timelineId && p.Content != null && p.LastUpdated > modifiedSince).ToListAsync();
+ var postEntities = await _database.TimelinePosts.OrderBy(p => p.Time).Where(p => p.TimelineId == timelineId && p.Content != null && p.LastUpdated >= modifiedSince).ToListAsync();
var posts = new List<TimelinePost>();
foreach (var entity in postEntities)
|