From 5ef00c3988807e4493d503532b4fc311b6814e25 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Mon, 18 Dec 2023 20:46:33 -0500 Subject: [PATCH] Nullify `PermissionSet` --- src/Tgstation.Server.Host/Models/PermissionSet.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Tgstation.Server.Host/Models/PermissionSet.cs b/src/Tgstation.Server.Host/Models/PermissionSet.cs index 704412c174..554956dd32 100644 --- a/src/Tgstation.Server.Host/Models/PermissionSet.cs +++ b/src/Tgstation.Server.Host/Models/PermissionSet.cs @@ -1,7 +1,5 @@ using System.Collections.Generic; -#nullable disable - namespace Tgstation.Server.Host.Models { /// @@ -20,17 +18,17 @@ namespace Tgstation.Server.Host.Models /// /// The the belongs to, if it is for a . /// - public User User { get; set; } + public User? User { get; set; } /// /// The the belongs to, if it is for a . /// - public UserGroup Group { get; set; } + public UserGroup? Group { get; set; } /// /// The s associated with the . /// - public ICollection InstancePermissionSets { get; set; } + public ICollection? InstancePermissionSets { get; set; } /// /// Convert the to it's API form.