Skip to content

Commit 5f757b0

Browse files
committed
Remove default bucket in S3Adapter
1 parent 9678b7a commit 5f757b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Adapters/Files/S3Adapter.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import * as AWS from 'aws-sdk';
66
import { FilesAdapter } from './FilesAdapter';
77

88
const DEFAULT_S3_REGION = "us-east-1";
9-
const DEFAULT_S3_BUCKET = "parse-files";
109

1110
export class S3Adapter extends FilesAdapter {
1211
// Creates an S3 session.
@@ -15,8 +14,8 @@ export class S3Adapter extends FilesAdapter {
1514
constructor(
1615
accessKey,
1716
secretKey,
17+
bucket,
1818
{ region = DEFAULT_S3_REGION,
19-
bucket = DEFAULT_S3_BUCKET,
2019
bucketPrefix = '',
2120
directAccess = false } = {}
2221
) {

0 commit comments

Comments
 (0)