@@ -75,7 +75,7 @@ def _auth_get(self, path: str, **kwargs):
7575
7676 kwargs ["headers" ] = {"Authorization" : f"Bearer { self .token } " }
7777
78- response = requests .get (f"{ self .base_url } / { path } " , ** kwargs )
78+ response = requests .get (f"{ self .base_url } { path } " , ** kwargs )
7979
8080 if response .status_code != 200 :
8181 raise Exception ("Failed! Bad status code" )
@@ -112,7 +112,7 @@ def create_wallet(self, *, persist_token=False):
112112 path = "/multitenancy/wallet"
113113
114114 response = requests .post (
115- f"{ self .base_url } / { path } " ,
115+ f"{ self .base_url } { path } " ,
116116 json = {
117117 "extra_settings" : {},
118118 "image_url" : "https://aries.ca/images/sample.png" ,
@@ -212,7 +212,7 @@ def get_active_revocation_registry(
212212 encoded_credential_definition_id = quote_plus (credential_definition_id )
213213
214214 return self ._auth_get (
215- f"anoncreds/revocation/active-registry/{ encoded_credential_definition_id } "
215+ f"/ anoncreds/revocation/active-registry/{ encoded_credential_definition_id } "
216216 )
217217
218218 def issue_credential (
@@ -241,7 +241,7 @@ def issue_credential(
241241
242242 def get_issue_records (self ):
243243 """Get records."""
244- return self ._auth_get ("issue-credential-2.0/records" )
244+ return self ._auth_get ("/ issue-credential-2.0/records" )
245245
246246 def accept_credential_offer (self , cred_ex_id , holder_did = None ):
247247 """Accept credential offer."""
0 commit comments