diff --git a/src/features/upload-file/providers/aws-provider.ts b/src/features/upload-file/providers/aws-provider.ts index 7552e22..c0f65dd 100644 --- a/src/features/upload-file/providers/aws-provider.ts +++ b/src/features/upload-file/providers/aws-provider.ts @@ -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) }