about summary refs log tree commit diff
path: root/OsuFederatedBeatmapApi/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OsuFederatedBeatmapApi/Program.cs')
-rw-r--r--OsuFederatedBeatmapApi/Program.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OsuFederatedBeatmapApi/Program.cs b/OsuFederatedBeatmapApi/Program.cs
index 15f9b12..8f54865 100644
--- a/OsuFederatedBeatmapApi/Program.cs
+++ b/OsuFederatedBeatmapApi/Program.cs
@@ -1,3 +1,4 @@
+using System.Text.Json;
 using LibMatrix.Services;
 using LibMatrix.Utilities.Bot;
 using OsuFederatedBeatmapApi.Services;
@@ -21,6 +22,8 @@ builder.Services.AddScoped<TieredStorageService>(x =>
 builder.Services.AddRoryLibMatrixServices();
 builder.Services.AddBot(withCommands: true);
 
+builder.Services.AddScoped<BeatmapFetcherService>();
+
 builder.Services.AddSingleton<FederatedBeatmapApiBotConfiguration>();
 builder.Services.AddScoped<FederatedBeatmapApiBotAccountDataService>();
 builder.Services.AddHostedService<FederatedBeatmapApiBot>();