mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-27 23:36:24 +08:00
fix pydantic
This commit is contained in:
@@ -29,7 +29,7 @@ class SendEventAction(BaseAction):
|
||||
@classmethod
|
||||
@property
|
||||
def data(cls) -> dict: # noqa
|
||||
return SendEventParams().dict()
|
||||
return SendEventParams().model_dump()
|
||||
|
||||
@property
|
||||
def success(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user