diff --git a/app/server/lib/MinIOExternalStorage.ts b/app/server/lib/MinIOExternalStorage.ts index 3e89dfff9b..646dbc2760 100644 --- a/app/server/lib/MinIOExternalStorage.ts +++ b/app/server/lib/MinIOExternalStorage.ts @@ -132,7 +132,7 @@ export class MinIOExternalStorage implements ExternalStorage { public async hasVersioning(): Promise { const versioning = await this._s3.getBucketVersioning(this.bucket); - return versioning != "" && versioning && versioning.Status === 'Enabled'; + return versioning !== "" && versioning && versioning.Status === 'Enabled'; } public async versions(key: string, options?: { includeDeleteMarkers?: boolean }) {