Skip to content

Commit

Permalink
chore: removing print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Parikshit85 committed Mar 5, 2024
1 parent 1714ac2 commit c18fa58
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/api/marketplace/marketplace/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,9 @@ def storingCredsPerSession(request):
request.session["code_challenge"] = code_challenge
request.session["oauth_state"] = state

print("While Making the URL, code_verifier, code_challenge", code_verifier, code_challenge)
return authorization_url

except Exception as e:
print(e)
logger.error(f"createNewCredentials - {e}")
return None

Expand Down Expand Up @@ -108,7 +106,6 @@ def twitterLoginCallback(request):
def authenticateUser(request, code):
global twitter
code_verifier = request.session.get("code_verifier", "")
print("Call back", code_verifier, twitter)
try:
if twitter:
token = twitter.fetch_token(
Expand All @@ -127,7 +124,6 @@ def authenticateUser(request, code):
)
access_token = token["access_token"]
refresh_token = token["refresh_token"]
print("token ==== ", token)

client = Client(access_token)
userData = client.get_me(
Expand Down

0 comments on commit c18fa58

Please sign in to comment.