tango-app-api-audit 3.3.1 → 3.3.2
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
|
@@ -746,7 +746,7 @@ export async function workSpace( req, res ) {
|
|
|
746
746
|
const offset = inputData.offset ?
|
|
747
747
|
( inputData.offset - 1 ) * limit :
|
|
748
748
|
0;
|
|
749
|
-
const dateRange = await
|
|
749
|
+
const dateRange = await getDate( new Date(), new Date() );
|
|
750
750
|
const filter =[
|
|
751
751
|
{ status: { $in: [ 'active', 'hold' ] } },
|
|
752
752
|
{ 'auditConfigs.audit': { $eq: true } },
|