Fixed pin bug
This commit is contained in:
parent
b6b54d6842
commit
98d712fa79
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ class createLnurldevice(BaseModel):
|
|||
device: str
|
||||
profit: float
|
||||
amount: int
|
||||
pin: int
|
||||
pin: int = 0
|
||||
profit1: float = 0
|
||||
amount1: int = 0
|
||||
pin1: int = 0
|
||||
|
|
|
|||
|
|
@ -107,4 +107,4 @@ async def updater(lnurldevice_id, lnurldevice_pin, lnurldevice_amount):
|
|||
lnurldevice = await get_lnurldevice(lnurldevice_id)
|
||||
if not lnurldevice:
|
||||
return
|
||||
return await manager.send_personal_message(f"pin:{lnurldevice_pin},amount:{lnurldevice_amount}", lnurldevice_id)
|
||||
return await manager.send_personal_message(f"{lnurldevice_pin}-{lnurldevice_amount}", lnurldevice_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue