From 7a664ce9c3c2912882160001bc36a7a944a2b8e1 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 4 Jun 2024 15:37:58 -0400 Subject: [PATCH] fix(aurora): make `Change.reason` optional --- aurora/models/change.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/models/change.py b/aurora/models/change.py index 0d0337f..e219ed7 100644 --- a/aurora/models/change.py +++ b/aurora/models/change.py @@ -12,8 +12,8 @@ from .partials import PartialUser class Change(AuroraBaseModel): type: Literal["ORIGINAL", "RESOLVE", "EDIT"] timestamp: datetime - reason: str user_id: int + reason: Optional[str] = "No reason provided" duration: Optional[timedelta] = None end_timestamp: Optional[datetime] = None