mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 17:02:28 +00:00
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:
1 parent
5123944a7d
commit
f321477455
1 file changed
+1
-1
@@ -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 = "";
|
||||
|
||||
Reference in new issue
Block a user