Skip to content

Commit 46b1e14

Browse files
committed
Update FilesAdapter.js
1 parent a9381bc commit 46b1e14

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Adapters/Files/FilesAdapter.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ export class FilesAdapter {
3030
* @param {string} contentType - the supposed contentType
3131
* @discussion the contentType can be undefined if the controller was not able to determine it
3232
* @param {object} options - (Optional) options to be passed to file adapter (S3 File Adapter Only)
33-
* @param {Config} config -(Optional) server configuration
3433
* - tags: object containing key value pairs that will be stored with file
35-
* - metadata: object containing key value pairs that will be sotred with file (https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-object-metadata.html)
36-
* @discussion options are not supported by all file adapters. Check the your adapter's documentation for compatibility
34+
* - 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)
35+
* @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
3738
*
3839
* @return {Promise<any>|Promise<{url?: string, name?: string, location?: string}>} 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)
3940
*/

0 commit comments

Comments
 (0)