@adobe/spacecat-shared-data-access 1.26.0 → 1.26.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.26.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.26.0...@adobe/spacecat-shared-data-access-v1.26.1) (2024-06-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Add an ExpressionAttributeName to fix issues with reserved keywords ([#261](https://github.com/adobe/spacecat-shared/issues/261)) ([b528c65](https://github.com/adobe/spacecat-shared/commit/b528c659b5ae2f6b17db0146ca0f650d9426f332)), closes [#260](https://github.com/adobe/spacecat-shared/issues/260)
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v1.26.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.25.1...@adobe/spacecat-shared-data-access-v1.26.0) (2024-06-10)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -42,7 +42,10 @@ export const getImportJobsByStatus = async (dynamoClient, config, log, status) =
|
|
|
42
42
|
const items = await dynamoClient.query({
|
|
43
43
|
TableName: config.tableNameImportJobs,
|
|
44
44
|
IndexName: config.indexNameAllImportJobsByStatus,
|
|
45
|
-
KeyConditionExpression: 'GSI1PK = :gsi1pk AND status = :status',
|
|
45
|
+
KeyConditionExpression: 'GSI1PK = :gsi1pk AND #status = :status',
|
|
46
|
+
ExpressionAttributeNames: {
|
|
47
|
+
'#status': 'status',
|
|
48
|
+
},
|
|
46
49
|
ExpressionAttributeValues: {
|
|
47
50
|
':gsi1pk': config.pkAllImportJobs,
|
|
48
51
|
':status': status,
|