Skip to content

Commit 1b876dc

Browse files
committed
fix: Duplicate ’algorithm’ check
1 parent aad983f commit 1b876dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/material-management/src/cryptographic_material.ts

-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ export function isCryptoKey (dataKey: any): dataKey is AwsEsdkJsCryptoKey {
582582
return dataKey &&
583583
'algorithm' in dataKey &&
584584
'type' in dataKey &&
585-
'algorithm' in dataKey &&
586585
'usages' in dataKey &&
587586
'extractable' in dataKey
588587
}

0 commit comments

Comments
 (0)