fix: 🐛 update document download signed route

This commit is contained in:
Alexis Gousseau 2025-09-03 14:06:14 +02:00
parent d80863c9a7
commit 77a2b3f12d
No known key found for this signature in database
GPG key ID: 4A614CB3DBBA2406

View file

@ -221,7 +221,7 @@ class SyncController extends Controller
->exists(sprintf('docs/%s/%s.%s', \tenant()->getKey(), $doc['uuid'], $doc['type']));
if ($exists) {
array_push($attach, URL::temporarySignedRoute(
'bo.docs.download',
'docs.download',
now()->addDays(30),
['tenant' => \tenant()->getKey(), 'uuid' => $doc['uuid']]
));