aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/Migration/TimelinePostContentToDataMigration.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/Migration/TimelinePostContentToDataMigration.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/Migration/TimelinePostContentToDataMigration.cs')
-rw-r--r--BackEnd/Timeline/Services/Migration/TimelinePostContentToDataMigration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Services/Migration/TimelinePostContentToDataMigration.cs b/BackEnd/Timeline/Services/Migration/TimelinePostContentToDataMigration.cs
index de2e2183..bb7bf606 100644
--- a/BackEnd/Timeline/Services/Migration/TimelinePostContentToDataMigration.cs
+++ b/BackEnd/Timeline/Services/Migration/TimelinePostContentToDataMigration.cs
@@ -33,7 +33,7 @@ namespace Timeline.Services.Migration
{
if (postEntity.ContentType == "text")
{
- var tag = await _dataManager.RetainEntry(Encoding.UTF8.GetBytes(postEntity.Content), false);
+ var tag = await _dataManager.RetainEntry(Encoding.UTF8.GetBytes(postEntity.Content));
database.TimelinePostData.Add(new TimelinePostDataEntity
{
DataTag = tag,