diff --git a/ImportConsole/ShallerDBProcessor.cs b/ImportConsole/ShallerDBProcessor.cs index 9681840..37b9a16 100644 --- a/ImportConsole/ShallerDBProcessor.cs +++ b/ImportConsole/ShallerDBProcessor.cs @@ -200,16 +200,7 @@ namespace FLocal.ImportConsole { ); } - ChangeSetUtil.ApplyChanges( - new UpdateChange( - Post.TableSpec.instance, - new Dictionary { - { Post.TableSpec.FIELD_TITLE, new ScalarFieldValue(title) }, - { Post.TableSpec.FIELD_BODY, new ScalarFieldValue(body) }, - }, - post.id - ) - ); + ChangeSetUtil.ApplyChanges(changes.ToArray()); }; Console.Write("+"); } else {