diff --git a/packages/backend-core/src/security/encryption.ts b/packages/backend-core/src/security/encryption.ts index 22a747ac30..8a2657bb40 100644 --- a/packages/backend-core/src/security/encryption.ts +++ b/packages/backend-core/src/security/encryption.ts @@ -150,7 +150,7 @@ function readBytes(stream: fs.ReadStream, length: number) { reject(new Error("Insufficient data in the stream.")) }) - stream.on("error", (error: any) => { + stream.on("error", error => { reject(error) }) })