tango-app-api-audit 3.4.68-beta.18 → 3.4.68-beta.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-audit",
3
- "version": "3.4.68-beta.18",
3
+ "version": "3.4.68-beta.19",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -526,7 +526,11 @@ export async function save( req, res ) {
526
526
  },
527
527
 
528
528
  },
529
-
529
+ {
530
+ 'term': {
531
+ 'userId.keyword': req?.user?._id,
532
+ },
533
+ },
530
534
  {
531
535
  'term': {
532
536
  'auditStatus.keyword': 'In-Progress',
@@ -636,7 +640,11 @@ export async function cancel( req, res ) {
636
640
  },
637
641
 
638
642
  },
639
-
643
+ {
644
+ 'term': {
645
+ 'userId.keyword': req?.user?._id,
646
+ },
647
+ },
640
648
  {
641
649
  'term': {
642
650
  'auditStatus.keyword': 'In-Progress',