mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
Fixed models
This commit is contained in:
parent
274615f0b3
commit
5392b2cbfe
@ -223,4 +223,4 @@ class TinyURL(BaseModel):
|
||||
|
||||
@classmethod
|
||||
def from_row(cls, row: Row):
|
||||
return cls(dict(row))
|
||||
return cls(**dict(row))
|
||||
|
Loading…
Reference in New Issue
Block a user