From e429ce97f4f4e1e46a9674537b29b8a5c6f52005 Mon Sep 17 00:00:00 2001 From: Hosmel Quintana Date: Sun, 15 Oct 2023 10:28:44 -0600 Subject: [PATCH] fix docs --- packages/spatie-laravel-media-library-plugin/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/spatie-laravel-media-library-plugin/README.md b/packages/spatie-laravel-media-library-plugin/README.md index c4d515d62e..2ee599af22 100644 --- a/packages/spatie-laravel-media-library-plugin/README.md +++ b/packages/spatie-laravel-media-library-plugin/README.md @@ -82,14 +82,14 @@ You may now drag and drop files into order. ### Adding custom headers -You may pass in custom headers when uploading files using the `addCustomHeaders()` method: +You may pass in custom headers when uploading files using the `customHeaders()` method: ```php use Filament\Forms\Components\SpatieMediaLibraryFileUpload; SpatieMediaLibraryFileUpload::make('attachments') ->multiple() - ->addCustomHeaders(['ACL' => 'public-read']) + ->customHeaders(['ACL' => 'public-read']) ``` ### Adding custom properties