Skip to content

Commit d9e48e3

Browse files
committed
SP-893 Update Python POS client creation
1 parent 75c377d commit d9e48e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bitpay/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ def __init__(
5757
raise BitPayException("failed to initiate clients: " + str(exe))
5858

5959
@staticmethod
60-
def create_pos_client(self, pos_token: str, environment: Environment = Environment.PROD): # type: ignore
60+
def create_pos_client(pos_token: str, environment: Environment = Environment.PROD): # type: ignore
6161
token_container = TokenContainer()
6262
token_container.add_pos(pos_token)
6363

64-
bitpay_client = BitPayClient(self.get_base_url(environment))
64+
bitpay_client = BitPayClient(Client.get_base_url(environment))
6565

6666
return Client(bitpay_client, token_container, GuidGenerator())
6767

0 commit comments

Comments
 (0)