summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-08-22 10:00:21 +1000
committerJake Mannens <jake@asger.xyz>2023-08-22 10:00:21 +1000
commitbe4496b110e68e2c5a8f76f8ed770e9818befd68 (patch)
tree25f597f34eaf357bd90a5b6b9b5440b7bf699ce1 /Program.cs
parentc29bdd4a9ec782411f57e3c798e1bb01ca7d417d (diff)
Finalised initial implementation of NSFW tag filtering
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index 4796825..b5d29af 100644
--- a/Program.cs
+++ b/Program.cs
@@ -19,6 +19,7 @@ public class Program {
builder.Services.AddDbContextFactory<HBContext>();
builder.Services.AddScoped<ISearchService, SearchService>();
builder.Services.AddScoped<ITagService, TagService>();
+ builder.Services.AddSingleton<IUserStateService, UserStateService>();
var app = builder.Build();