mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Updated composer deps, applied latest StyleCI changes
This commit is contained in:
@ -90,6 +90,7 @@ class AttachmentApiController extends ApiController
|
||||
// Simply return a JSON response of the attachment for link-based attachments
|
||||
if ($attachment->external) {
|
||||
$attachment->setAttribute('content', $attachment->path);
|
||||
|
||||
return response()->json($attachment);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user