Round amount before sending XMR
This commit is contained in:
@@ -102,6 +102,8 @@ class AgoraDesk:
|
||||
result["message"] = "OK"
|
||||
result["response"] = response
|
||||
else:
|
||||
if "error" in response:
|
||||
result["error"] = response["error"]
|
||||
result["message"] = "API ERROR"
|
||||
|
||||
return result
|
||||
@@ -1037,8 +1039,9 @@ class AgoraDesk:
|
||||
if otp:
|
||||
params["otp"] = otp
|
||||
|
||||
return await self._api_call(
|
||||
response = await self._api_call(
|
||||
api_method="wallet-send/XMR",
|
||||
http_method="POST",
|
||||
query_values=params,
|
||||
)
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user