Skip to content

Commit

Permalink
Don't save content items on get Fix #16741 (#16789)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Alhayek <[email protected]>
  • Loading branch information
github-actions[bot] and MikeAlhayek authored Sep 24, 2024
1 parent 735c112 commit 62371be
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,6 @@ public async Task<IEnumerable<ContentItem>> GetAsync(IEnumerable<string> content
{
finalItems.Add(item);
}

// We save the previous version further because this call might do a session query.
await _session.SaveAsync(item, checkConcurrency: true);
}

if (needVersions.Count > 0)
Expand Down

0 comments on commit 62371be

Please sign in to comment.