Skip to content

Commit

Permalink
feat: update api call2
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizgar91 committed Apr 8, 2024
1 parent 9adead6 commit 03bb2ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions payments_py/payments.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def get_subscription_associated_services(self, subscription_did: str):
'Accept': 'application/json',
'Content-Type': 'application/json'
}
url = f"{self.environment.value['backend']}/api/v1/payments/subscription/services/{subscription_did}/"
url = f"{self.environment.value['backend']}/api/v1/payments/subscription/services/{subscription_did}"
response = requests.get(url, headers=headers)
return response

Expand All @@ -288,7 +288,7 @@ def get_subscription_associated_files(self, subscription_did: str):
'Accept': 'application/json',
'Content-Type': 'application/json'
}
url = f"{self.environment.value['backend']}/api/v1/payments/subscription/files/{subscription_did}/"
url = f"{self.environment.value['backend']}/api/v1/payments/subscription/files/{subscription_did}"
response = requests.get(url, headers=headers)
return response

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "payments-py"
version = "0.1.1"
version = "0.1.2"
description = ""
authors = ["enrique <enrique@nevermined.io>"]
readme = "README.md"
Expand Down

0 comments on commit 03bb2ab

Please sign in to comment.