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 .github/workflows/deploy-to-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: npm setup
working-directory: ui
run: npm install --force
run: npm install --force --ignore-scripts

- name: ui-angular-cli-build
working-directory: ui
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-and-npm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: npm setup
working-directory: ui
run: npm install --force
run: npm install --force --ignore-scripts

- name: ui-angular-cli-build
working-directory: ui
Expand Down
2 changes: 1 addition & 1 deletion server/Cae/CaeClaimsChallengeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
///
/// This class is only required if using a standalone AuthContext check
/// </summary>
public class CaeClaimsChallengeService
public static class CaeClaimsChallengeService
{
public static string? CheckForRequiredAuthContextIdToken(string authContextId, HttpContext context)
{
Expand Down
9 changes: 0 additions & 9 deletions server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
});

services.AddScoped<MsGraphService>();
services.AddScoped<CaeClaimsChallengeService>();

services.AddAntiforgery(options =>
{
Expand Down Expand Up @@ -115,11 +114,3 @@
app.MapFallbackToPage("/_Host");

await app.RunAsync();

/// <summary>
/// Expose implicitly defined Program class to the integration test project
/// See https://learn.microsoft.com/en-us/aspnet/core/test/integration-tests?view=aspnetcore-9.0&pivots=xunit&WT.mc_id=MVP_344197#basic-tests-with-the-default-webapplicationfactory
/// </summary>
#pragma warning disable S1118 // Utility classes should not have public constructors
public partial class Program { }
#pragma warning restore S1118 // Utility classes should not have public constructors
2 changes: 1 addition & 1 deletion ui/src/app/secure-api.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function secureApiInterceptor(
) {
const secureRoutes = [getApiUrl()];

if (!secureRoutes.find((x) => request.url.startsWith(x))) {
if (!secureRoutes.some((x) => request.url.startsWith(x))) {
return next(request);
}

Expand Down