push_github: return empty response instead of a template, fixes #309

This commit is contained in:
Domen Kožar 2016-08-17 00:13:06 +02:00
parent 12194447ee
commit 2840a5e089

View file

@ -256,6 +256,7 @@ sub push_github : Chained('api') PathPart('push-github') Args(0) {
{ join => 'project' { join => 'project'
, where => \ [ 'exists (select 1 from JobsetInputAlts where project = me.project and jobset = me.name and value like ?)', [ 'value', "%github.com%$owner/$repo%" ] ] , where => \ [ 'exists (select 1 from JobsetInputAlts where project = me.project and jobset = me.name and value like ?)', [ 'value', "%github.com%$owner/$repo%" ] ]
}); });
$c->response->body("");
} }