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 | 35f4e03157fdb6643dc42db0cd764804e00944aa (patch) | |
tree | 5f65150b65ac37d2cd3f9d04d9cde22b3c02691d /Timeline/Services/TimelineService.cs | |
parent | 0977bc9f80bcfcbb8d74e26988e5b2ea949a291e (diff) | |
download | timeline-35f4e03157fdb6643dc42db0cd764804e00944aa.tar.gz timeline-35f4e03157fdb6643dc42db0cd764804e00944aa.tar.bz2 timeline-35f4e03157fdb6643dc42db0cd764804e00944aa.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)
|