Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[locker] Remove redundant validation comment

AswinAsoke540ce5c225b
diff --git a/web/apps/locker/src/services/sync/decrypt.ts b/web/apps/locker/src/services/sync/decrypt.ts
index cf11c00582..6d3145fd54 100644
--- a/web/apps/locker/src/services/sync/decrypt.ts
+++ b/web/apps/locker/src/services/sync/decrypt.ts
@@ -462,8 +462,6 @@ const decryptFileToLockerItem = async (
? fromInfoTypeWireValue(info.type)
: undefined;
if (infoType) {
- // A malformed item is caught below and skipped individually in
- // both active collections and trash, including cached reloads.
const data = infoDataSchemas[infoType].parse(info?.data);
return {
id: record.id,