push_github: return empty response instead of a template, fixes #309
This commit is contained in:
parent
12194447ee
commit
2840a5e089
@ -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("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user