1
0
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:
Dan Brown
2022-04-24 18:22:40 +01:00
parent 63cb6015a8
commit 2b0ae23da0
14 changed files with 182 additions and 186 deletions

View File

@ -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);
}