Skip to content

Commit

Permalink
fix: remove key type ref
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed Nov 30, 2023
1 parent 4b83e00 commit 41f54dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/spacecat-shared-dynamo/src/modules/removeItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<Object>} 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.
Expand Down

0 comments on commit 41f54dc

Please sign in to comment.