From 83bc3b418bbc5ecdeb2296a9ee057a6d2c0f4ad2 Mon Sep 17 00:00:00 2001 From: Glax Date: Fri, 16 May 2025 14:23:33 +0200 Subject: [PATCH] Manga Year is not required (nullable) --- API/Schema/Manga.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/Schema/Manga.cs b/API/Schema/Manga.cs index 867a82f..2374da1 100644 --- a/API/Schema/Manga.cs +++ b/API/Schema/Manga.cs @@ -39,7 +39,7 @@ public class Manga [StringLength(1024)] [Required] public string DirectoryName { get; private set; } [JsonIgnore] [StringLength(512)] public string? CoverFileNameInCache { get; internal set; } = null; - [Required] public uint? Year { get; internal init; } + public uint? Year { get; internal init; } [StringLength(8)] public string? OriginalLanguage { get; internal init; } [JsonIgnore]