@amohamud23/notihub 1.1.17 → 1.1.18
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -525,7 +525,7 @@ var Notifications = class _Notifications {
|
|
|
525
525
|
notiTypeIds.map(async (ntid) => {
|
|
526
526
|
const params = {
|
|
527
527
|
TableName: this.TABLE_NAME,
|
|
528
|
-
IndexName: "
|
|
528
|
+
IndexName: "NotiTypeIdCreatedAtIndex",
|
|
529
529
|
// Assuming you have a GSI for notiTypeId
|
|
530
530
|
KeyConditionExpression: "notiTypeId = :ntid",
|
|
531
531
|
ExpressionAttributeValues: { ":ntid": ntid },
|
package/dist/index.js
CHANGED
|
@@ -501,7 +501,7 @@ var Notifications = class _Notifications {
|
|
|
501
501
|
notiTypeIds.map(async (ntid) => {
|
|
502
502
|
const params = {
|
|
503
503
|
TableName: this.TABLE_NAME,
|
|
504
|
-
IndexName: "
|
|
504
|
+
IndexName: "NotiTypeIdCreatedAtIndex",
|
|
505
505
|
// Assuming you have a GSI for notiTypeId
|
|
506
506
|
KeyConditionExpression: "notiTypeId = :ntid",
|
|
507
507
|
ExpressionAttributeValues: { ":ntid": ntid },
|