Skip to content

Commit

Permalink
Revert "Adding test breaking change"
Browse files Browse the repository at this point in the history
This reverts commit 9c8786b.
  • Loading branch information
Piedone committed Nov 1, 2024
1 parent 9c8786b commit 29acde3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Services/AuditTrailContentVersionNumberService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class AuditTrailContentVersionNumberService : IAuditTrailContentVersionNu

public AuditTrailContentVersionNumberService(ISession session) => _session = session;

public Task<int> GetLatestVersionNumberChangedAsync(string contentItemId) =>
public Task<int> GetLatestVersionNumberAsync(string contentItemId) =>
_session
.Query<AuditTrailEvent, AuditTrailEventIndex>(index =>
index.CorrelationId == contentItemId && index.Name == Saved)
Expand Down
4 changes: 2 additions & 2 deletions Services/IAuditTrailContentVersionNumberService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public interface IAuditTrailContentVersionNumberService
/// <summary>
/// Returns the current largest version number for the content item.
/// </summary>
Task<int> GetLatestVersionNumberChangedAsync(string contentItemId);
Task<int> GetLatestVersionNumberAsync(string contentItemId);

/// <summary>
/// Returns the version number and its content of a specific version as of the event identified by the given
Expand All @@ -30,5 +30,5 @@ public static class ContentVersionNumberServiceExtensions
public static Task<int> GetLatestVersionNumberAsync(
this IAuditTrailContentVersionNumberService service,
IContent content) =>
service.GetLatestVersionNumberChangedAsync(content?.ContentItem?.ContentItemId);
service.GetLatestVersionNumberAsync(content?.ContentItem?.ContentItemId);
}

0 comments on commit 29acde3

Please sign in to comment.