order get all controller change

This commit is contained in:
Sibunnayak 2024-04-11 11:13:49 +05:30
parent 076958eba6
commit f84b8d769a

View File

@ -39,7 +39,7 @@ export const getAllOrder = async (req, res) => {
export const getOrders = async (req, res) => {
try {
const order = await Order.find({
payment_status: "success",
// payment_status: "success",
})
.populate({
path: "user",