yazid138 2 년 전
부모
커밋
3d20e2ea0f
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      controller/sanksi.controller.js

+ 1 - 3
controller/sanksi.controller.js

@@ -359,9 +359,7 @@ exports.getAll = handleError(async (req, res) => {
           $exists: true, $ne: null}
         }, {
           bypass_cabut_sanksi: true,
-          "jawaban.cabut_sanksi.status": {
-            $ne: "Diterima"
-          }
+          aktif: true,
         }
       ]
       // where.$or = where.$or.map(e => ({ ...e, ['pengajuan.cabut_sanksi']: { $exists: true, $ne: null } }))