push to new branch
parent
6d4eff5f1d
commit
99835e3683
|
@ -6,6 +6,7 @@ from google.cloud import storage
|
||||||
def handle_webhook(request):
|
def handle_webhook(request):
|
||||||
request_json = request.get_json()
|
request_json = request.get_json()
|
||||||
# Check if the required fields are in the request
|
# Check if the required fields are in the request
|
||||||
|
print(request_json)
|
||||||
if not request_json or "repository" not in request_json:
|
if not request_json or "repository" not in request_json:
|
||||||
return "Invalid request: 'repository' field missing", 400
|
return "Invalid request: 'repository' field missing", 400
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue