/api/scmdiff: Set correct MIME type
It was set to application/json but should be text/plain.
This commit is contained in:
parent
8abc595d1c
commit
941665044e
|
@ -169,7 +169,7 @@ sub nrbuilds : Chained('api') PathPart('nrbuilds') Args(0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub scmdiff : Chained('api') PathPart('scmdiff') Args(0) {
|
sub scmdiff : Path('/api/scmdiff') Args(0) {
|
||||||
my ($self, $c) = @_;
|
my ($self, $c) = @_;
|
||||||
|
|
||||||
my $uri = $c->request->params->{uri};
|
my $uri = $c->request->params->{uri};
|
||||||
|
|
Loading…
Reference in a new issue