aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/TimelinePostService.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-13 22:27:29 +0800
committercrupest <crupest@outlook.com>2021-02-13 22:27:29 +0800
commit780d19611549182e7f8cbebdb05498f33a8e1de0 (patch)
tree1c932c04b03c7497e61d2a6f34cbc20db32d02af /BackEnd/Timeline/Services/TimelinePostService.cs
parentd22f85818c9257839b093a6fd299f0ea00a075fa (diff)
downloadtimeline-780d19611549182e7f8cbebdb05498f33a8e1de0.tar.gz
timeline-780d19611549182e7f8cbebdb05498f33a8e1de0.tar.bz2
timeline-780d19611549182e7f8cbebdb05498f33a8e1de0.zip
fix: No longer able to not save change in data manager.
Diffstat (limited to 'BackEnd/Timeline/Services/TimelinePostService.cs')
-rw-r--r--BackEnd/Timeline/Services/TimelinePostService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Services/TimelinePostService.cs b/BackEnd/Timeline/Services/TimelinePostService.cs
index 62bc43cc..88a93710 100644
--- a/BackEnd/Timeline/Services/TimelinePostService.cs
+++ b/BackEnd/Timeline/Services/TimelinePostService.cs
@@ -361,7 +361,7 @@ namespace Timeline.Services
{
var data = request.DataList[index];
- var tag = await _dataManager.RetainEntry(data.Data, false);
+ var tag = await _dataManager.RetainEntry(data.Data);
_database.TimelinePostData.Add(new TimelinePostDataEntity
{
@@ -436,7 +436,7 @@ namespace Timeline.Services
foreach (var dataEntity in dataEntities)
{
- await _dataManager.FreeEntry(dataEntity.DataTag, false);
+ await _dataManager.FreeEntry(dataEntity.DataTag);
}
_database.TimelinePostData.RemoveRange(dataEntities);