diff --git a/packages/spacecat-shared-data-access/src/service/site-candidates/accessPatterns.js b/packages/spacecat-shared-data-access/src/service/site-candidates/accessPatterns.js index 65d4cc44..0cc0c37e 100644 --- a/packages/spacecat-shared-data-access/src/service/site-candidates/accessPatterns.js +++ b/packages/spacecat-shared-data-access/src/service/site-candidates/accessPatterns.js @@ -23,7 +23,7 @@ import { SiteCandidateDto } from '../../dto/site-candidate.js'; */ export const getSiteCandidates = async (dynamoClient, config) => { const dynamoItems = await dynamoClient.scan({ - TableName: config.tableNameSites, + TableName: config.tableNameSiteCandidates, }); return dynamoItems.map((dynamoItem) => SiteCandidateDto.fromDynamoItem(dynamoItem));