]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/AttachmentController.php
Merge branch 'master' into translations
[bookstack] / app / Http / Controllers / AttachmentController.php
index e61a488ce9e3b2d56a4887cb533dd465c8f07053..b5e7db41ee3aa89d76f37faee3eee3406c7dd056 100644 (file)
@@ -117,7 +117,7 @@ class AttachmentController extends Controller
         }
 
         $attachment = $this->attachmentService->updateFile($attachment, $request->all());
-        return $attachment;
+        return response()->json($attachment);
     }
 
     /**