We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cdc8d87 + 19169aa commit 157cc34Copy full SHA for 157cc34
src/features/upload-file/providers/aws-provider.ts
@@ -52,7 +52,7 @@ export class AWSProvider extends BaseProvider {
52
} catch (error) {
53
throw new Error(ERROR_MESSAGES.NO_AWS_SDK)
54
}
55
- this.expires = options.expires || DAY_IN_MINUTES
+ this.expires = options.expires ?? DAY_IN_MINUTES
56
this.s3 = new AWS_S3(options)
57
58
0 commit comments