order get all controller change
This commit is contained in:
parent
076958eba6
commit
f84b8d769a
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user