Skip to content

Commit 157cc34

Browse files
authored
Merge pull request #21 from SoftwareBrothers/fix/fix-expires
fix: fix expires prop in AWS provider
2 parents cdc8d87 + 19169aa commit 157cc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/upload-file/providers/aws-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class AWSProvider extends BaseProvider {
5252
} catch (error) {
5353
throw new Error(ERROR_MESSAGES.NO_AWS_SDK)
5454
}
55-
this.expires = options.expires || DAY_IN_MINUTES
55+
this.expires = options.expires ?? DAY_IN_MINUTES
5656
this.s3 = new AWS_S3(options)
5757
}
5858

0 commit comments

Comments
 (0)