/api/scmdiff: Set correct MIME type

It was set to application/json but should be text/plain.
This commit is contained in:
Eelco Dolstra 2017-05-05 15:58:38 +02:00
parent 8abc595d1c
commit 941665044e
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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 $uri = $c->request->params->{uri};