|
|
@@ -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 } }))
|