Skip to content

Commit 0fa1a78

Browse files
committed
Currency value to amount
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 57a6bdf commit 0fa1a78

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

labstack/currency.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ class Currency():
44
def __init__(self, client):
55
self.client = client
66

7-
def convert(self, from_, to, value):
7+
def convert(self, from_, to, amount):
88
return self.client._request('GET', '/currency/convert', params={
99
'from': from_,
1010
'to': to,
11-
'value': value
11+
'amount': amount
1212
})
1313

1414
def rates(self, base):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='labstack',
5-
version='0.31.0',
5+
version='0.31.1',
66
description='Official Python client library for the LabStack API',
77
long_description='`<https://github.com/labstack/labstack-python>`_',
88
keywords='image compress, image resize, text summary, barcode generate, barcode scan',

0 commit comments

Comments
 (0)