Skip to content

Commit

Permalink
Fix missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Nov 24, 2023
1 parent 20416d4 commit 4a6939e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aleph_message/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def check_confirmed(cls, v, values):
return v

@validator("time")
def check_time(cls, v):
def check_time(cls, v, values):
if isinstance(v, float):
v = datetime.datetime.fromtimestamp(v)
assert isinstance(v, datetime.datetime)
Expand Down

0 comments on commit 4a6939e

Please sign in to comment.