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
2 people authored and sebastienros committed Sep 26, 2024
1 parent 8e090d3 commit 674cf93
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 674cf93

Please sign in to comment.