summaryrefslogtreecommitdiff
path: root/HBContext.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-10-04 15:59:52 +1100
committerJake Mannens <jake@asger.xyz>2023-10-04 15:59:52 +1100
commitaa0b68f7648bd5a7c14b64737a4f8d3e402bfce5 (patch)
treef058842f77cfbd6e2a21abd3e4f8ad4f8ad1ed9a /HBContext.cs
parent33438ac951430fa370965b42a3d98a54e704ab01 (diff)
Fix SID equality and WellKnownSid mappings
Diffstat (limited to 'HBContext.cs')
-rw-r--r--HBContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/HBContext.cs b/HBContext.cs
index 2e78b5a..dee100d 100644
--- a/HBContext.cs
+++ b/HBContext.cs
@@ -57,7 +57,7 @@ public class HBContext : DbContext {
modelBuilder.Entity<HBObject>()
.Property(o => o.Owner)
- .HasDefaultValue(new SecurityIdentifier(WellKnownSidType.WorldSid));
+ .HasDefaultValue(WellKnownSid.WorldSid);
// Seed internal tag definitions
// These should NEVER change