diff --git a/PelotonToGarmin.sln b/PelotonToGarmin.sln index 65acccb1a..fdb80f071 100644 --- a/PelotonToGarmin.sln +++ b/PelotonToGarmin.sln @@ -19,6 +19,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".solution", ".solution", "{ configuration.example.json = configuration.example.json deviceInfo.sample.xml = deviceInfo.sample.xml README.md = README.md + vNextReleaseNotes.md = vNextReleaseNotes.md EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docker", "docker", "{A7F642D9-7954-4547-84DB-67A04AE1043D}" diff --git a/src/Api.Service/ApiStartupServices.cs b/src/Api.Service/ApiStartupServices.cs index 83b61fac3..d30e37d5c 100644 --- a/src/Api.Service/ApiStartupServices.cs +++ b/src/Api.Service/ApiStartupServices.cs @@ -18,8 +18,11 @@ namespace SharedStartup; public static class ApiStartupServices { public static void ConfigureP2GApiServices(this IServiceCollection services) - { - // CACHE + { + // HOSTED SERVICES + services.AddHostedService(); + + // CACHE services.AddSingleton(); // CONVERT diff --git a/src/Api/Services/BackgroundSyncJob.cs b/src/Api.Service/BackgroundSyncJob.cs similarity index 98% rename from src/Api/Services/BackgroundSyncJob.cs rename to src/Api.Service/BackgroundSyncJob.cs index f22ad7843..d968fadec 100644 --- a/src/Api/Services/BackgroundSyncJob.cs +++ b/src/Api.Service/BackgroundSyncJob.cs @@ -1,9 +1,9 @@ -using Common; -using Common.Database; +using Common.Database; using Common.Dto; using Common.Observe; using Common.Service; using Common.Stateful; +using Microsoft.Extensions.Hosting; using Prometheus; using Sync; using static Common.Observe.Metrics; diff --git a/vNextReleaseNotes.md b/vNextReleaseNotes.md index 2ef097497..0af129567 100644 --- a/vNextReleaseNotes.md +++ b/vNextReleaseNotes.md @@ -10,6 +10,7 @@ ## Fixes - [#604] Fix workout title template not handling special characters correctly +- [#634] WebUI - Periodic Sync not working ## Docker Tags