We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae15649 commit 4e453c7Copy full SHA for 4e453c7
src/index.js
@@ -68,7 +68,7 @@ class SpacesClient {
68
permission = 'private',
69
options = {},
70
) {
71
- const { useExponentialBackoff = false, ...spacesOptions } = options;
+ const { exponentialBackoff = false, ...spacesOptions } = options;
72
const makeUpload = async () => {
73
await this.s3client.upload({
74
Bucket: this.bucket,
@@ -83,7 +83,7 @@ class SpacesClient {
83
return this.getCDNURL(destinationPath);
84
};
85
86
- if (useExponentialBackoff) {
+ if (exponentialBackoff) {
87
return backOff(() => makeUpload());
88
}
89
0 commit comments