about summary refs log tree commit diff
path: root/LibMatrix/UserIdAndReason.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/UserIdAndReason.cs')
-rw-r--r--LibMatrix/UserIdAndReason.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/UserIdAndReason.cs b/LibMatrix/UserIdAndReason.cs
index 99c9eaf..5e52303 100644
--- a/LibMatrix/UserIdAndReason.cs
+++ b/LibMatrix/UserIdAndReason.cs
@@ -2,7 +2,7 @@ using System.Text.Json.Serialization;
 
 namespace LibMatrix;
 
-internal class UserIdAndReason(string userId = null!, string reason = null!) {
+internal class UserIdAndReason(string userId = null!, string? reason = null) {
     [JsonPropertyName("user_id")]
     public string UserId { get; set; } = userId;