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