diff --git a/packages/protect-dynamodb/src/operations/search-terms.ts b/packages/protect-dynamodb/src/operations/search-terms.ts index 2bd6c246..74b9032d 100644 --- a/packages/protect-dynamodb/src/operations/search-terms.ts +++ b/packages/protect-dynamodb/src/operations/search-terms.ts @@ -39,12 +39,6 @@ export class SearchTermsOperation extends DynamoDBOperation { ) } - if (term?.k !== 'ct') { - throw new Error( - 'Tried to create search term with an invalid encrypted payload', - ) - } - if (!term?.hm) { throw new Error('expected encrypted search term to have an HMAC') }