id -> invoice_id
This commit is contained in:
@@ -55,10 +55,10 @@ async def create_invoice(token, dst_username, amount=None):
|
||||
data['amount'] = amount
|
||||
return await call('api/create_invoice/', data)
|
||||
|
||||
async def delete_invoice(token, id):
|
||||
data = {'token': token, 'id': id}
|
||||
async def delete_invoice(token, invoice_id):
|
||||
data = {'token': token, 'invoice_id': invoice_id}
|
||||
return await call('api/delete_invoice/', data)
|
||||
|
||||
async def get_invoice(token, id):
|
||||
data = {'token': token, 'id': id}
|
||||
async def get_invoice(token, invoice_id):
|
||||
data = {'token': token, 'invoice_id': invoice_id}
|
||||
return await call('api/get_invoice/', data)
|
||||
Reference in New Issue
Block a user