Commit cfab7aaf authored by Matt Wise's avatar Matt Wise
Browse files

fix region check

parent 478fe3da
Pipeline #28581 failed with stages
in 45 minutes and 7 seconds
......@@ -19,7 +19,7 @@ import jwt;
class AwsToken(object):
def get_aws_id_token(self):
if os.environ["AWS_COGNITO_REGION"]:
if os.getenv("AWS_COGNITO_REGION") is not None:
region = os.environ["AWS_COGNITO_REGION"]
region = os.environ["AWS_REGION"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment