From 41f54dc44bb1251f0fea2df588683078d1cc5306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominique=20J=C3=A4ggi?= Date: Thu, 30 Nov 2023 14:22:40 +0100 Subject: [PATCH] fix: remove key type ref --- packages/spacecat-shared-dynamo/src/modules/removeItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/spacecat-shared-dynamo/src/modules/removeItem.js b/packages/spacecat-shared-dynamo/src/modules/removeItem.js index 2978278c..3ab723e9 100644 --- a/packages/spacecat-shared-dynamo/src/modules/removeItem.js +++ b/packages/spacecat-shared-dynamo/src/modules/removeItem.js @@ -19,7 +19,7 @@ import { guardKey, guardTableName } from '../utils/guards.js'; * * @param {DynamoDBDocumentClient} docClient - The AWS SDK DynamoDB Document client instance. * @param {string} tableName - The name of the DynamoDB table. - * @param {DynamoDbKey} key - The key object containing partitionKey and optionally sortKey. + * @param {object} key - The key object containing partitionKey and optionally sortKey. * @param {Logger} log - The logging object, defaults to console. * @returns {Promise} A promise that resolves to a message indicating successful removal. * @throws {Error} Throws an error if the DynamoDB delete operation fails or input validation fails.