mirror of
https://github.com/lnbits/lnbits.git
synced 2025-08-02 23:12:34 +02:00
Merge pull request #950 from motorina0/fix_onchain_account_type
fix: type can be `None` due to migration issue
This commit is contained in:
@@ -19,7 +19,7 @@ class WalletAccount(BaseModel):
|
|||||||
title: str
|
title: str
|
||||||
address_no: int
|
address_no: int
|
||||||
balance: int
|
balance: int
|
||||||
type: str = ""
|
type: Optional[str] = ""
|
||||||
network: str = "Mainnet"
|
network: str = "Mainnet"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Reference in New Issue
Block a user