diff options
Diffstat (limited to 'lib/Service/ApiService.php')
-rw-r--r-- | lib/Service/ApiService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ApiService.php b/lib/Service/ApiService.php index bae813649..4244127e2 100644 --- a/lib/Service/ApiService.php +++ b/lib/Service/ApiService.php @@ -118,7 +118,7 @@ class ApiService { } catch (NotFoundException $e) { return new NotFoundResponse(); } - return new FileDisplayResponse($file); + return new FileDisplayResponse($file, 200, ['Content-Type' => 'text/plain']); } return new NotFoundResponse(); } |