Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TestHosts/TestHosts/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NLog.Extensions.Logging;
using Shared.Logger.TennantContext;
using TestHosts.Common;

namespace TestHosts
Expand All @@ -27,7 +28,6 @@
using Shared.General;
using Shared.Logger;
using Shared.Middleware;
using Shared.TennantContext;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
Expand Down Expand Up @@ -227,7 +227,7 @@
protected override async Task ExecuteAsync(CancellationToken stoppingToken){
while (stoppingToken.IsCancellationRequested == false){
// TODO: may introduce a date filter
using ResolvedDbContext<PataPawaContext>? resolvedContext = this.Resolver.Resolve("PataPawaReadModel");

Check warning on line 230 in TestHosts/TestHosts/Startup.cs

View workflow job for this annotation

GitHub Actions / Build and Test Pull Requests

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

var pendingTransactions = await resolvedContext.Context.Transactions.Where(t => t.IsPending).OrderBy(t => t.Date).ToListAsync(stoppingToken);

Expand Down
2 changes: 1 addition & 1 deletion TestHosts/TestHosts/TestHosts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="9.0.5" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.2" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Shared" Version="2025.7.6" />
<PackageReference Include="Shared" Version="2025.7.10" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.2" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.5.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.5">
Expand Down
Loading