Skip to content

Commit

Permalink
Remove Pay-Connector
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Nov 7, 2024
1 parent 6dd34f6 commit e9002fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pay-api/src/pay_api/services/oauth_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def post( # pylint: disable=too-many-arguments

safe_headers = headers.copy()
safe_headers.pop("Authorization", None)
safe_headers.pop("Pay-Connector", None)
current_app.logger.debug(f"Endpoint : {endpoint}")
current_app.logger.debug(f"headers : {safe_headers}")
current_app.logger.debug(f"data : {data}")
Expand Down Expand Up @@ -140,6 +141,7 @@ def get( # pylint:disable=too-many-arguments

safe_headers = headers.copy()
safe_headers.pop("Authorization", None)
safe_headers.pop("Pay-Connector", None)
current_app.logger.debug(f"Endpoint : {endpoint}")
current_app.logger.debug(f"headers : {safe_headers}")
session = requests.Session()
Expand Down

0 comments on commit e9002fa

Please sign in to comment.