We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4485e3 commit 31ec5ceCopy full SHA for 31ec5ce
priceloopcurrency/function.py
@@ -5,7 +5,7 @@ def return_currency_rates(from_currency: str, to_currency: str) -> float:
5
try:
6
return str(c.get_rate(from_currency, to_currency))
7
except:
8
- return str(-1)
+ return None
9
10
def handler(event, context):
11
return list(map(lambda row: return_currency_rates(row[0], row[1]), event["BatchedArgs"]))
0 commit comments