Skip to content

Commit

Permalink
fixed bug with tracking hashmap
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusyaovi committed Oct 14, 2021
1 parent d19efd0 commit ca19cd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rave_python/rave_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def __init__(self, publicKey=None, secretKey=None, production=False, usingEnv=Tr

# config variables (protected)
self._baseUrlMap = ["https://ravesandboxapi.flutterwave.com/", "https://api.ravepay.co/"]
self._trackingMap = "https://kgelfdz7mf.execute-api.us-east-1.amazonaws.com/staging/sendevent"
self._endpointMap = {
"bills": {
"create":"v2/services/confluence",
Expand Down
2 changes: 1 addition & 1 deletion rave_python/rave_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def __str__(self):
return self.type +"ing recepient failed with error: " + self.err["errMsg"]

class RefundError(RaveError):
""" Raised when refund fails """IN
""" Raised when refund fails """
def __init__(self, message):
msg = "Your refund call failed with message: "+str(message)
super(RefundError, self).__init__(msg)
Expand Down

0 comments on commit ca19cd7

Please sign in to comment.