aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs')
-rw-r--r--Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs b/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
index c849ecd75..502b22623 100644
--- a/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
+++ b/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
@@ -41,13 +41,13 @@ namespace Jellyfin.Api.Models.NotificationDtos
public string Description { get; set; } = string.Empty;
/// <summary>
- /// Gets or sets the notification's URL. Defaults to null.
+ /// Gets or sets the notification's URL. Defaults to an empty string.
/// </summary>
- public string? Url { get; set; }
+ public string Url { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the notification level.
/// </summary>
- public NotificationLevel? Level { get; set; }
+ public NotificationLevel Level { get; set; }
}
}