diff --git a/src/TextLoader/TextractOcr.php b/src/TextLoader/TextractOcr.php index d46c92a..62c7570 100644 --- a/src/TextLoader/TextractOcr.php +++ b/src/TextLoader/TextractOcr.php @@ -84,7 +84,7 @@ protected function getDisk(): string protected function getBucket(string $disk): string { - $bucket = config("filesystems.$disk.textract.bucket"); + $bucket = config("filesystems.$disk.bucket"); if (! $bucket) { throw new Exception("Bucket is not defined in disk '$disk'"); }