Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Jun 25, 2023
1 parent 96ab395 commit 393b7db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Administration/SharingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ private function updateLinks(array $userIds, array $albumIds): void
$albumIds,
[
APC::IS_LINK_REQUIRED => false, // In sharing no required link is needed
APC::GRANTS_DOWNLOAD => true, // Configs::getValueAsBool('grants_download'),
APC::GRANTS_FULL_PHOTO_ACCESS => true, // Configs::getValueAsBool('grants_full_photo_access'),
APC::GRANTS_DOWNLOAD => Configs::getValueAsBool('grants_download'),
APC::GRANTS_FULL_PHOTO_ACCESS => Configs::getValueAsBool('grants_full_photo_access'),
],
false);
}
Expand Down
1 change: 1 addition & 0 deletions tests/Feature/Traits/CatchFailures.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Tests\Feature\Traits;

use Illuminate\Testing\TestResponse;
use Symfony\Component\HttpFoundation\StreamedResponse;

/**
* This trait allows to retrieve the message returned by the back-end in case of unexpected results.
Expand Down

0 comments on commit 393b7db

Please sign in to comment.