Skip to content

Commit

Permalink
fix: fof upload patch
Browse files Browse the repository at this point in the history
  • Loading branch information
zgq354 committed Dec 28, 2024
1 parent f532929 commit 7cf53ae
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions patches/fof-upload-src-adapters-manager-php.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
--- /dev/null
+++ ../src/Adapters/Manager.php
@@ -39,7 +39,8 @@
@@ -13,6 +13,7 @@
namespace FoF\Upload\Adapters;

use Aws\S3\S3Client;
+use Flarum\Foundation\Application;
use Flarum\Foundation\Paths;
use Flarum\Foundation\ValidationException;
use Flarum\Http\UrlGenerator;
@@ -38,7 +39,8 @@
protected Paths $paths,
protected Util $util,
protected SettingsRepositoryInterface $settings,
Expand All @@ -10,7 +18,7 @@
) {
}

@@ -107,7 +108,8 @@
@@ -106,7 +108,8 @@

$leagueAdapter = new AwsS3Adapter(
new S3Client($s3Config),
Expand Down

0 comments on commit 7cf53ae

Please sign in to comment.