Skip to content

Commit

Permalink
refactor: add missing Async suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrphil2105 committed Aug 15, 2024
1 parent e89e6c9 commit b31a500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion UserApp/Services/ClaimService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Func<MessageFactory> messageFactoryFactory
_messageFactoryFactory = messageFactoryFactory;
}

public async Task ClaimAcceptedPapers()
public async Task ClaimAcceptedPapersAsync()
{
await using var appDbContext = _appDbContextFactory();
var submissions = await appDbContext
Expand Down
2 changes: 1 addition & 1 deletion ViewModels/MenuViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected override Task OnInitializeAsync(CancellationToken cancellationToken =
{
if (!_sessionService.IsReviewer)
{
return _claimService.ClaimAcceptedPapers();
return _claimService.ClaimAcceptedPapersAsync();
}

return Task.CompletedTask;
Expand Down
2 changes: 1 addition & 1 deletion ViewModels/Services/IClaimService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ namespace Apachi.ViewModels.Services;

public interface IClaimService
{
Task ClaimAcceptedPapers();
Task ClaimAcceptedPapersAsync();
}

0 comments on commit b31a500

Please sign in to comment.