Skip to content

Commit

Permalink
Remove unnecessary line.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Dec 5, 2023
1 parent d8c4f83 commit d943930
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lombiq.JsonEditor/Controllers/AdminController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public async Task<IActionResult> EditPost(
if (await _contentManager.GetAsync(contentItem.ContentItemId, VersionOptions.Latest) is { } existing)
{
existing.Latest = false;
existing.Published = false;
_session.Save(existing);
contentItem.ContentItemVersionId = _contentItemIdGenerator.GenerateUniqueId(existing);
}
Expand Down

0 comments on commit d943930

Please sign in to comment.