From 5039c326755880dcc04b716ec3a593c69c160c7c Mon Sep 17 00:00:00 2001 From: Bertrand THOMAS Date: Sun, 15 Mar 2026 00:46:18 +0100 Subject: [PATCH 1/2] Fix wrong api client for music album page --- .../Components/Inventory/Clients/MusicAlbumApiClient.cs | 2 +- .../InfrastructureServiceCollectionExtensions.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BlazorApp/Components/Inventory/Clients/MusicAlbumApiClient.cs b/src/BlazorApp/Components/Inventory/Clients/MusicAlbumApiClient.cs index 9b7e5db7..7f73b4e6 100644 --- a/src/BlazorApp/Components/Inventory/Clients/MusicAlbumApiClient.cs +++ b/src/BlazorApp/Components/Inventory/Clients/MusicAlbumApiClient.cs @@ -5,5 +5,5 @@ namespace Keeptrack.BlazorApp.Components.Inventory.Clients; public sealed class MusicAlbumApiClient(HttpClient http) : InventoryApiClientBase(http) { - protected override string ApiResourceName => "/api/movies"; + protected override string ApiResourceName => "/api/music-albums"; } diff --git a/src/WebApi/DependencyInjection/InfrastructureServiceCollectionExtensions.cs b/src/WebApi/DependencyInjection/InfrastructureServiceCollectionExtensions.cs index 5402a7a5..f81be7a7 100644 --- a/src/WebApi/DependencyInjection/InfrastructureServiceCollectionExtensions.cs +++ b/src/WebApi/DependencyInjection/InfrastructureServiceCollectionExtensions.cs @@ -29,6 +29,7 @@ internal static void AddMongoDbInfrastructure(this IServiceCollection services, services.TryAddScoped(); services.TryAddScoped(); services.TryAddScoped(); + services.TryAddScoped(); services.TryAddScoped(); services.TryAddScoped(); } From 66c670bb8bc6c075dc7ec48810758c285e5ff8d7 Mon Sep 17 00:00:00 2001 From: Bertrand THOMAS Date: Sun, 15 Mar 2026 00:46:57 +0100 Subject: [PATCH 2/2] Update reusable github workflow --- .github/workflows/ci.yaml | 8 ++++---- .github/workflows/pkg.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 632120d7..9486ad01 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,13 +37,13 @@ jobs: markup-lint: name: Markup - uses: devpro/github-workflow-parts/.github/workflows/reusable-markup-lint.yml@62dbf6e833e49230ab34ef3c44093ebb727a095f + uses: devpro/github-workflow-parts/.github/workflows/reusable-markup-lint.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96 code-quality: name: Code needs: git-check if: needs.git-check.outputs.app_changed == 'true' || (github.event_name == 'workflow_dispatch' && inputs.run-code-quality) - uses: devpro/github-workflow-parts/.github/workflows/reusable-dotnet-quality.yml@62dbf6e833e49230ab34ef3c44093ebb727a095f + uses: devpro/github-workflow-parts/.github/workflows/reusable-dotnet-quality.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96 with: custom-commands: | ./scripts/mongodb-install.sh @@ -62,7 +62,7 @@ jobs: sonar-organization: ${{ vars.SONAR_ORG }} sonar-project-key: ${{ vars.SONAR_PROJECT_KEY }} sonar-project-name: Keeptrack - workflow-parts-version: 62dbf6e833e49230ab34ef3c44093ebb727a095f + workflow-parts-version: 5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96 secrets: fossa-api-key: ${{ secrets.FOSSA_API_KEY }} sonar-token: ${{ secrets.SONAR_TOKEN }} @@ -90,7 +90,7 @@ jobs: - name: "Web Api" image-name: "keeptrack-webapi" image-definition: "src/WebApi/Dockerfile" - uses: devpro/github-workflow-parts/.github/workflows/reusable-container-scan.yml@62dbf6e833e49230ab34ef3c44093ebb727a095f + uses: devpro/github-workflow-parts/.github/workflows/reusable-container-scan.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96 with: image-definition: ${{ matrix.image-definition }} image-name: ${{ matrix.image-name }} diff --git a/.github/workflows/pkg.yaml b/.github/workflows/pkg.yaml index bdc85fb7..17172330 100644 --- a/.github/workflows/pkg.yaml +++ b/.github/workflows/pkg.yaml @@ -28,7 +28,7 @@ jobs: permissions: id-token: write contents: read - uses: devpro/github-workflow-parts/.github/workflows/reusable-container-publication.yml@4f3152777635eb3bcf1ee21db103d70f790ff1cb + uses: devpro/github-workflow-parts/.github/workflows/reusable-container-publication.yml@5a5d1cd0a00c94ebec1e096e9086f2b88cc5eb96 with: create-latest: ${{ github.ref_name == 'main' }} image-definition: ${{ matrix.image-definition }}