test PR1 #1

Merged
2121321 merged 1 commits from new-branch into master 2024-11-26 09:08:06 +01:00
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