Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Adyen/services/posMobile/pos_mobile_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"""
Create a communication session
"""
endpoint = self.baseUrl + "/sessions"
endpoint = self.baseUrl + f"/sessions"

Check warning on line 20 in Adyen/services/posMobile/pos_mobile_api.py

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Add replacement fields or use a normal string instead of an f-string.

See more on https://sonarcloud.io/project/issues?id=Adyen_adyen-python-api-library&issues=AZ0K03Fv63pryTICbQI3&open=AZ0K03Fv63pryTICbQI3&pullRequest=459
method = "POST"
return self.client.call_adyen_api(
request, self.service, method, endpoint, idempotency_key, **kwargs
)
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

Loading