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
commit1cbf24ae8980a136d4d66f1a940b2ed7a2e4bf2a (patch)
treec35468f3d3de637f13a569da40144b47c694a46e /BackEnd/Timeline/Services/Migration/TimelinePostContentToDataMigration.cs
parent2e85c75e96b9ca600467a60673c8177651b1483b (diff)
downloadtimeline-1cbf24ae8980a136d4d66f1a940b2ed7a2e4bf2a.tar.gz
timeline-1cbf24ae8980a136d4d66f1a940b2ed7a2e4bf2a.tar.bz2
timeline-1cbf24ae8980a136d4d66f1a940b2ed7a2e4bf2a.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,