1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Fix param order

This commit is contained in:
Jake Barnby 2024-03-08 11:51:24 +01:00
parent a7171138cd
commit 207ad5fed6
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -1321,8 +1321,8 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/push')
->inject('response')
->inject('request')
->inject('dbForProject')
->inject('mode')
->inject('project')
->inject('mode')
->inject('deviceForFiles')
->action(function (string $bucketId, string $fileId, string $jwt, Response $response, Request $request, Database $dbForProject, Document $project, string $mode, Device $deviceForFiles) {
$bucket = Authorization::skip(fn () => $dbForProject->getDocument('buckets', $bucketId));