Skip to content

Commit d491f29

Browse files
authored
docs: rename incorrect usage of the cloud storage plugin to align with the imported module in storage-adapters.mdx (#11475)
### What? The cloudStorage plugin was used incorrectly in the code snippet. While `cloudStoragePlugin` was imported, `cloudStorage` was mistakenly used within the plugin array. ### How? Renamed the incorrect usage of `cloudStorage` to `cloudStoragePlugin` to align with the imported module.
1 parent c4da453 commit d491f29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/upload/storage-adapters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ import { cloudStoragePlugin } from '@payloadcms/plugin-cloud-storage'
424424

425425
export default buildConfig({
426426
plugins: [
427-
cloudStorage({
427+
cloudStoragePlugin({
428428
collections: {
429429
'my-collection-slug': {
430430
adapter: theAdapterToUse, // see docs for the adapter you want to use

0 commit comments

Comments
 (0)