Skip to content

Commit

Permalink
fix: remove usage of deprecated pydantic api
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Dec 17, 2023
1 parent bccd13c commit 57d7b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/timeline_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def merge_previous_timeline(
m.collect_rate = req.rate

if should_update:
tl.memo = php.serialize(m.dict())
tl.memo = php.serialize(m.model_dump())
session.add(tl)
return

Expand Down

0 comments on commit 57d7b16

Please sign in to comment.