From fb71d228bfa3d9d29b17e19e0b1e51000f19c34a Mon Sep 17 00:00:00 2001 From: tengueax Date: Mon, 2 Sep 2024 13:58:57 +0300 Subject: [PATCH] Update mods.py --- cursedforged/types/mods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cursedforged/types/mods.py b/cursedforged/types/mods.py index b064bd6..d309a5d 100644 --- a/cursedforged/types/mods.py +++ b/cursedforged/types/mods.py @@ -70,7 +70,7 @@ class Mod(BaseModel): authors: list[ModAuthor] = Field( alias="authors", description="List of the mod's authors" ) - logo: ModAsset = Field(alias="logo", description="The mod's logo asset") + logo: ModAsset | None = Field(alias="logo", description="The mod's logo asset", default=None) screenshots: list[ModAsset] = Field( alias="screenshots", description="List of screenshots assets" )