From a69e12179b57512b948565d44f4a40507087739e Mon Sep 17 00:00:00 2001 From: Alessandro Benetton Date: Sat, 1 Feb 2025 22:16:12 +0100 Subject: [PATCH] [postgres-Server-V2] fix(Manga): Was using properties before initialization --- API/Schema/Manga.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API/Schema/Manga.cs b/API/Schema/Manga.cs index 1055142..0296bbd 100644 --- a/API/Schema/Manga.cs +++ b/API/Schema/Manga.cs @@ -1,4 +1,4 @@ -using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.InteropServices; using System.Text.RegularExpressions; @@ -58,7 +58,7 @@ public class Manga string? coverFileNameInCache, uint year, string? originalLanguage, MangaReleaseStatus releaseStatus, float ignoreChapterBefore, string mangaConnectorId) { - MangaId = TokenGen.CreateToken(typeof(Manga), MangaConnectorId, ConnectorId); + MangaId = TokenGen.CreateToken(typeof(Manga), mangaConnectorId, connectorId); ConnectorId = connectorId; Name = name; Description = description;