From ff715df3ccda51c1bb3d4b84f4391b4fdd1962dd Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Tue, 22 Aug 2023 10:00:21 +1000 Subject: Finalised initial implementation of NSFW tag filtering --- HBContext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'HBContext.cs') 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 Objects { get; set; } @@ -40,7 +40,7 @@ public class HBContext : DbContext { modelBuilder.Entity().HasData(new TagDefinition[] { new() { ObjectId = -1, - Guid = NSFWTag, + Guid = NsfwTag, Source = TagSource.Internal, Name = "nsfw" }, -- cgit v1.3