av6-core 1.5.16 → 1.5.17
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -847,7 +847,7 @@ var commonRepository = (serviceDeps) => {
|
|
|
847
847
|
}
|
|
848
848
|
logger.info("exiting::fixedSearch::repository");
|
|
849
849
|
return {
|
|
850
|
-
data: results,
|
|
850
|
+
data: results ?? [],
|
|
851
851
|
totalRecords,
|
|
852
852
|
currentPageNumber: pageNo,
|
|
853
853
|
pageSize,
|
|
@@ -912,7 +912,7 @@ var commonRepository = (serviceDeps) => {
|
|
|
912
912
|
}
|
|
913
913
|
logger.info("exiting::fixedSearchWoPagination::repository");
|
|
914
914
|
return {
|
|
915
|
-
data: results,
|
|
915
|
+
data: results ?? [],
|
|
916
916
|
totalRecords
|
|
917
917
|
};
|
|
918
918
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -797,7 +797,7 @@ var commonRepository = (serviceDeps) => {
|
|
|
797
797
|
}
|
|
798
798
|
logger.info("exiting::fixedSearch::repository");
|
|
799
799
|
return {
|
|
800
|
-
data: results,
|
|
800
|
+
data: results ?? [],
|
|
801
801
|
totalRecords,
|
|
802
802
|
currentPageNumber: pageNo,
|
|
803
803
|
pageSize,
|
|
@@ -862,7 +862,7 @@ var commonRepository = (serviceDeps) => {
|
|
|
862
862
|
}
|
|
863
863
|
logger.info("exiting::fixedSearchWoPagination::repository");
|
|
864
864
|
return {
|
|
865
|
-
data: results,
|
|
865
|
+
data: results ?? [],
|
|
866
866
|
totalRecords
|
|
867
867
|
};
|
|
868
868
|
},
|