From 941665044e8682ddcf70ab8a621948a2515c4a44 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 5 May 2017 15:58:38 +0200 Subject: [PATCH] /api/scmdiff: Set correct MIME type It was set to application/json but should be text/plain. --- src/lib/Hydra/Controller/API.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/API.pm b/src/lib/Hydra/Controller/API.pm index 7cc0eda0..dfde7b30 100644 --- a/src/lib/Hydra/Controller/API.pm +++ b/src/lib/Hydra/Controller/API.pm @@ -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};