diff --git a/functions/source/GitPullS3/lambda_function.py b/functions/source/GitPullS3/lambda_function.py index 7b85978..b18534b 100644 --- a/functions/source/GitPullS3/lambda_function.py +++ b/functions/source/GitPullS3/lambda_function.py @@ -134,9 +134,6 @@ def lambda_handler(event, context): for net in ipranges: if ip in net: secure = True - if 'X-Gitlab-Token' in event['params']['header'].keys(): - if event['params']['header']['X-Gitlab-Token'] in apikeys: - secure = True if 'X-Git-Token' in event['params']['header'].keys(): if event['params']['header']['X-Git-Token'] in apikeys: secure = True