summaryrefslogtreecommitdiff
path: root/HBContext.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-08-22 10:00:21 +1000
committerJake Mannens <jake@asger.xyz>2025-08-18 17:03:21 +1000
commitff715df3ccda51c1bb3d4b84f4391b4fdd1962dd (patch)
tree00cca236a9036896dc7a1d3688311c65f96159d8 /HBContext.cs
parent4558ed9d6cbc59229cd56cc7a6c36b1df0b8199a (diff)
Finalised initial implementation of NSFW tag filtering
Diffstat (limited to 'HBContext.cs')
-rw-r--r--HBContext.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/HBContext.cs b/HBContext.cs
index 73ccdcb..74c040c 100644
--- a/HBContext.cs
+++ b/HBContext.cs
@@ -4,7 +4,7 @@ using HyperBooru.Services;
namespace HyperBooru;
public class HBContext : DbContext {
- public static readonly Guid NSFWTag = new("EBDAD4F8-455A-4351-8017-1D4854D6FA38");
+ public static readonly Guid NsfwTag = new("EBDAD4F8-455A-4351-8017-1D4854D6FA38");
public static readonly Guid IngestTag = new("EA212801-5BCC-4C0E-814F-FB9D30DB58BC");
public DbSet<HBObject> Objects { get; set; }
@@ -40,7 +40,7 @@ public class HBContext : DbContext {
modelBuilder.Entity<TagDefinition>().HasData(new TagDefinition[] {
new() {
ObjectId = -1,
- Guid = NSFWTag,
+ Guid = NsfwTag,
Source = TagSource.Internal,
Name = "nsfw"
},