Skip to content
Snippets Groups Projects
Commit af41947a authored by ale's avatar ale
Browse files

Invoke make_response() with the right args

parent a2931875
No related branches found
No related tags found
No related merge requests found
...@@ -125,9 +125,8 @@ def app_webhook(): ...@@ -125,9 +125,8 @@ def app_webhook():
ev_type = request.headers.get('X-Gitlab-Event') ev_type = request.headers.get('X-Gitlab-Event')
if ev_type != 'Pipeline Hook': if ev_type != 'Pipeline Hook':
app.logger.info('ignored non-pipeline event with type %s' % ev_type) app.logger.info('ignored non-pipeline event with type %s' % ev_type)
return make_response(200, ['{}']) else:
# Send request to worker threads for processing. # Send request to worker threads for processing.
queue.put(request.json) queue.put(request.json)
return make_response(200, ['{}']) return make_response('{}')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment