fix(aurora): make Change.reason
optional
This commit is contained in:
parent
3168c42787
commit
7a664ce9c3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue