Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
fix: namespace conflict for generated endpoint discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorstenSauter committed Dec 4, 2023
1 parent 9851bde commit 2557e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NoPlan.Api/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.Identity.Web;
using NoPlan.Api;
using NoPlan.Api.Features.ToDos;
using NoPlan.Api.Validation;
using NoPlan.Contracts;
using NoPlan.Infrastructure.Data;
using NoPlan.Infrastructure.HeathChecks;

Expand All @@ -19,7 +19,7 @@
options =>
{
options.SourceGeneratorDiscoveredTypes.AddRange(DiscoveredTypes.All);
options.SourceGeneratorDiscoveredTypes.AddRange(DiscoveredTypes.All);
options.SourceGeneratorDiscoveredTypes.AddRange(NoPlan.Contracts.DiscoveredTypes.All);
})
.AddScoped<IToDoService, ToDoService>()
.AddAuthorization(options => options.AddUserPolicy())
Expand Down

0 comments on commit 2557e48

Please sign in to comment.