From 4876dac681a5ac204a6c4b200bcfbc32b5b18c77 Mon Sep 17 00:00:00 2001 From: NiceAesth Date: Wed, 10 Apr 2024 17:24:17 +0300 Subject: [PATCH] fix: hotfix score_type nullable in pinattributes --- aiosu/models/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiosu/models/common.py b/aiosu/models/common.py index 1762dbe..c2505ca 100644 --- a/aiosu/models/common.py +++ b/aiosu/models/common.py @@ -99,7 +99,7 @@ class HTMLBody(BaseModel): class PinAttributes(BaseModel): is_pinned: bool score_id: int - score_type: ScoreType + score_type: Optional[ScoreType] = None class CurrentUserAttributes(BaseModel):