File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -722,7 +722,7 @@ public function exportReviewXML(Request $illuminateRequest): JsonResponse
722
722
/**
723
723
* Download exported review file from temporary file ID
724
724
*/
725
- public function getExportedFile (Request $ illuminateRequest ): JsonResponse
725
+ public function getExportedFile (Request $ illuminateRequest ): Response
726
726
{
727
727
$ fileId = (int ) $ illuminateRequest ->route ('fileId ' );
728
728
$ currentUser = Application::get ()->getRequest ()->getUser ();
@@ -734,7 +734,7 @@ public function getExportedFile(Request $illuminateRequest): JsonResponse
734
734
'error ' => __ ('api.403.unauthorized ' ),
735
735
], Response::HTTP_FORBIDDEN );
736
736
}
737
- return response ()->json ([], Response::HTTP_OK );
737
+ return response ()->noContent (Response:: HTTP_OK ); // json([], Response::HTTP_OK);
738
738
}
739
739
740
740
/**
You can’t perform that action at this time.
0 commit comments