fix(s3): remove duplicate normalizedInfoHash declaration

Removes a redundant `const normalizedInfoHash` declaration in `s3UploadService.js` that caused a `SyntaxError` and prevented the application from loading. The variable is already declared in the outer scope of the `try` block.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-26 18:29:42 +00:00
1 parent 5123944a7d
commit f321477455
1 file changed
+1 -1
+1 -1
View File
@@ -327,7 +327,7 @@ class S3UploadService {
return false;
}
const normalizedInfoHash = normalizeInfoHash(infoHash);
// normalizedInfoHash is already calculated above
const hasValidInfoHash = isValidInfoHash(normalizedInfoHash);
let generatedMagnet = "";
let generatedWs = "";