Skip to content

Commit

Permalink
Fixes (#815)
Browse files Browse the repository at this point in the history
Co-authored-by: Tarraann <jot.taran15522@gmail.com>
  • Loading branch information
Tarraann and Tarraann authored Jul 19, 2023
1 parent 2aae2b1 commit b3ce34c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superagi/controllers/google_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def google_auth_calendar(code: str = Query(...), Authorize: AuthJWT = Depe
if env == "DEV":
redirect_uri = "http://localhost:3000/api/google/oauth-tokens"
else:
redirect_uri = "https://superagi.com/api/google/oauth-tokens"
redirect_uri = "https://app.superagi.com/api/google/oauth-tokens"
params = {
'client_id': client_id,
'client_secret': client_secret,
Expand Down
2 changes: 1 addition & 1 deletion superagi/helper/twitter_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_request_token(self,api_data):
if env == "DEV":
oauth_callback = "http://localhost:3000/api/twitter/oauth-tokens"
else:
oauth_callback = "https://superagi.com/api/twitter/oauth-tokens"
oauth_callback = "https://app.superagi.com/api/twitter/oauth-tokens"
params = {
'oauth_callback': oauth_callback,
'oauth_consumer_key': api_key,
Expand Down

0 comments on commit b3ce34c

Please sign in to comment.