Fix storage s3 endpoint not being optional

This commit is contained in:
Charles Bochet
2024-03-15 23:08:30 +01:00
parent feebc45d31
commit eb07b373a7
2 changed files with 8 additions and 2 deletions

View File

@ -165,6 +165,7 @@ export class EnvironmentVariables {
@ValidateIf((env) => env.STORAGE_TYPE === StorageDriverType.S3)
@IsString()
@IsOptional()
STORAGE_S3_ENDPOINT: string;
@IsString()