Merge branch 'doc-route' into 'develop'

fix: 🐛 update document download signed route

See merge request ldc-web/projets/com-app-bo!18
This commit is contained in:
Vincent BRIDIER 2025-09-03 12:18:23 +00:00
commit 0f87cb1ee4

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']]
));