feat(backend): add create flag endpoint and job

This commit is contained in:
sam 2024-09-26 22:26:40 +02:00
parent ff2ba1fb1b
commit 14e6e35cb7
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
4 changed files with 87 additions and 5 deletions

View file

@ -99,7 +99,8 @@ public static class WebApplicationExtensions
.AddHostedService<PeriodicTasksService>()
// Transient jobs
.AddTransient<MemberAvatarUpdateInvocable>()
.AddTransient<UserAvatarUpdateInvocable>();
.AddTransient<UserAvatarUpdateInvocable>()
.AddTransient<CreateFlagInvocable>();
if (!config.Logging.EnableMetrics)
services.AddHostedService<BackgroundMetricsCollectionService>();