@adobe/spacecat-shared-data-access 1.59.0 → 1.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v1.59.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.59.0...@adobe/spacecat-shared-data-access-v1.59.1) (2024-12-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **data-access:** get all site candidates table name ([#487](https://github.com/adobe/spacecat-shared/issues/487)) ([5d62aee](https://github.com/adobe/spacecat-shared/commit/5d62aee7e29a1f78f692ea6802ac1334e884b9a3))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v1.59.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.58.2...@adobe/spacecat-shared-data-access-v1.59.0) (2024-12-11)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@ import { SiteCandidateDto } from '../../dto/site-candidate.js';
|
|
|
23
23
|
*/
|
|
24
24
|
export const getSiteCandidates = async (dynamoClient, config) => {
|
|
25
25
|
const dynamoItems = await dynamoClient.scan({
|
|
26
|
-
TableName: config.
|
|
26
|
+
TableName: config.tableNameSiteCandidates,
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
return dynamoItems.map((dynamoItem) => SiteCandidateDto.fromDynamoItem(dynamoItem));
|