Skip to content

Commit

Permalink
Removed unnecessary CYPRESS_TOKEN conditional setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Tignor authored and Thomas Tignor committed Dec 19, 2023
1 parent ff79717 commit 23f6a69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tdrs-backend/tdpservice/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,5 +472,4 @@ class Common(Configuration):
},
}

REACT_APP_DEVAUTH = os.getenv('REACT_APP_DEVAUTH', None)
CYPRESS_TOKEN = 'local-cypress-token' if REACT_APP_DEVAUTH else os.getenv('CYPRESS_TOKEN', None)
CYPRESS_TOKEN = os.getenv('REACT_APP_DEVAUTH', None)

0 comments on commit 23f6a69

Please sign in to comment.