Skip to content

Commit a6c2609

Browse files
committed
Update description of config slightly
1 parent 2c76b13 commit a6c2609

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adapters/Files/FilesAdapter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export class FilesAdapter {
3333
* - tags: object containing key value pairs that will be stored with file
3434
* - metadata: object containing key value pairs that will be stored with file (https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-object-metadata.html)
3535
* @discussion options are not supported by all file adapters. Check the your adapter's documentation for compatibility
36-
* @param {Config} config -(Optional) server configuration
37-
* @discussion config is not supported by all file adapters. Check the your adapter's documentation for compatibility
36+
* @param {Config} config - (Optional) server configuration
37+
* @discussion config may be passed to adapter to allow for more complex configuration and internal call of getFileLocation (if needed). This argument is not supported by all file adapters. Check the your adapter's documentation for compatibility
3838
*
3939
* @return {Promise<{url?: string, name?: string, location?: string}>|Promise<undefined>} Either a plain promise that should fail if storage didn't succeed, or a promise resolving to an object containing url and/or an updated filename and/or location (if relevant)
4040
*/

0 commit comments

Comments
 (0)