Adding bitcoinswitch to lnurldevices

This commit is contained in:
ben
2022-10-06 17:10:15 +01:00
parent 27bae6a0c6
commit 3222ae198d
6 changed files with 135 additions and 4 deletions
+2
View File
@@ -17,6 +17,7 @@ class createLnurldevice(BaseModel):
currency: str
device: str
profit: float
amount: int
class lnurldevices(BaseModel):
@@ -27,6 +28,7 @@ class lnurldevices(BaseModel):
currency: str
device: str
profit: float
amount: int
timestamp: str
def from_row(cls, row: Row) -> "lnurldevices":