master
Bhaskara Kishore 3 years ago
parent 887b2cefc6
commit 0c65d3b9e4

@ -1026,7 +1026,7 @@ exports.getPendingSuppliers = async (req, reply) => {
.then((docs) => {
const supplierDataWithTimestamp = docs.map((doc, index) => ({
data: doc,
timestamp: timestamps[index],
//timestamp: timestamps[index],
}));
reply.send({
status_code: 200,
@ -1101,7 +1101,7 @@ exports.getPendingCustomers = async (req, reply) => {
.then((docs) => {
const customerDataWithTimestamp = docs.map((doc, index) => ({
data: doc,
timestamp: timestamps[index],
//timestamp: timestamps[index],
}));
//reply.send({ status_code: 200, data: docs, count: docs.length ,timestamps});
reply.send({

Loading…
Cancel
Save