Fix EditDomainData in Test
This commit is contained in:
parent
936e9342a2
commit
731ebf9f85
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class EditDomainData(BaseModel):
|
|||
amount: float = Query(..., ge=0.01)
|
||||
|
||||
@classmethod
|
||||
def from_row(cls, row: Row) -> "Domain":
|
||||
def from_row(cls, row: Row) -> "EditDomainData":
|
||||
return cls(**dict(row))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue