Skip to content

Commit

Permalink
fix: fix expires prop in AWS provider
Browse files Browse the repository at this point in the history
  • Loading branch information
dziraf committed Feb 23, 2021
1 parent cdc8d87 commit 19169aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/upload-file/providers/aws-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class AWSProvider extends BaseProvider {
} catch (error) {
throw new Error(ERROR_MESSAGES.NO_AWS_SDK)
}
this.expires = options.expires || DAY_IN_MINUTES
this.expires = options.expires ?? DAY_IN_MINUTES
this.s3 = new AWS_S3(options)
}

Expand Down

0 comments on commit 19169aa

Please sign in to comment.