fix: add HttpClient to services
.NET / Build & Test (push) Failing after 1m41s Details

This commit is contained in:
Oliver Booth 2024-04-18 01:56:38 +01:00
parent 6f1cd303f3
commit 06b6a6bf08
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ builder.Services.AddCors(options =>
options.AddPolicy("site", policy => policy.WithOrigins("https://admin.oliverbooth.dev", "https://oliverbooth.dev"));
});
builder.Services.AddHttpClient();
builder.Services.AddCommonServices();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(options => options.ResolveConflictingActions(resolver =>