mirror of
https://github.com/dyzulk/trustlab-api.git
synced 2026-01-26 05:15:35 +07:00
feat: add API endpoint for downloading private ticket attachments with authorization and streaming.
This commit is contained in:
@@ -13,8 +13,6 @@ class AttachmentController extends Controller
|
||||
* Download a private attachment.
|
||||
*/
|
||||
public function download(Request $request, TicketAttachment $attachment)
|
||||
{
|
||||
public function download(Request $request, TicketAttachment $attachment)
|
||||
{
|
||||
try {
|
||||
// Paranoid Auth Check
|
||||
|
||||
Reference in New Issue
Block a user