Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed May 30, 2023
1 parent d306ac7 commit fc7e9af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.1.0.0</Version>
<Version>2.1.0.1</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
4 changes: 3 additions & 1 deletion XinjingdailyBot.Command/SuperCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,10 @@ public async Task ResponseMergePost(Message message)
post.ReviewActionMsgID = oldPost.ManageMsgID;
}

effectCount++;

post.ModifyAt = DateTime.Now;
await _postService.InsertAsync(post);
await _postService.Insertable(post).ExecuteCommandAsync();

oldPost.Merged = true;
await _oldPostService.Updateable(oldPost).UpdateColumns(x => x.Merged).ExecuteCommandAsync();
Expand Down

0 comments on commit fc7e9af

Please sign in to comment.