Remove JWT param
This commit is contained in:
parent
f6521670d0
commit
2318fad508
1 changed files with 1 additions and 1 deletions
|
@ -1175,7 +1175,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/view')
|
||||||
->inject('dbForProject')
|
->inject('dbForProject')
|
||||||
->inject('mode')
|
->inject('mode')
|
||||||
->inject('deviceForFiles')
|
->inject('deviceForFiles')
|
||||||
->action(function (string $bucketId, string $fileId, string $jwt, Response $response, Request $request, Database $dbForProject, string $mode, Device $deviceForFiles) {
|
->action(function (string $bucketId, string $fileId, Response $response, Request $request, Database $dbForProject, string $mode, Device $deviceForFiles) {
|
||||||
$bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId));
|
$bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId));
|
||||||
|
|
||||||
$isAPIKey = Auth::isAppUser(Authorization::getRoles());
|
$isAPIKey = Auth::isAppUser(Authorization::getRoles());
|
||||||
|
|
Loading…
Reference in a new issue