push to new branch

pull/1/head
Thomas Martin 2024-11-26 08:49:21 +01:00
parent 6d4eff5f1d
commit 99835e3683
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ from google.cloud import storage
def handle_webhook(request):
request_json = request.get_json()
# Check if the required fields are in the request
print(request_json)
if not request_json or "repository" not in request_json:
return "Invalid request: 'repository' field missing", 400