mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Created solution for JS translations
Also tidied up existing components and JS
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user