yazid138 %!s(int64=2) %!d(string=hai) anos
pai
achega
3d20e2ea0f
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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 } }))