From c647f11ae3473f67b66658d7bdc9d2c89c23e40d Mon Sep 17 00:00:00 2001 From: Mr Swift Date: Sat, 27 Apr 2024 20:13:19 +0330 Subject: [PATCH] Update Selector.js --- plugins/Selector.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/plugins/Selector.js b/plugins/Selector.js index c4b0d10..6de4d45 100644 --- a/plugins/Selector.js +++ b/plugins/Selector.js @@ -1,21 +1,8 @@ module.exports = { populate: { - productPopAdmin: 'comments shopID sub brandID' + }, select: { - userCustom: 'firstName lastName phoneNumber cellNumber', - user: 'firstName lastName', - auther: 'firstName lastName', - comment: 'firstName lastName', - productCard: 'title price specialPrice specialSell category coverImage coverPath stars orderRange uid', - productCard2: 'title category coverImage coverPath uid', - blogCard: 'link title coverImage content', - shop: 'shopName active rate desc', - brand: 'title link description logo', - category: 'main ordering link name', - shopProduct: 'title uid link price category specialPrice stockQuantity coverImage order confirmToShow createdAt updatedAt', - userMinus: '-password -token -createdAt -updatedAt -otp -otpTime -attempOtp -lastAttemp', - userProfile: 'favoriteProducts notifications', - productCart: 'title uid price specialPrice category coverImage shopID itemInBox boxSeller localSend warranty orderRange' + } } \ No newline at end of file