@@ -35,6 +35,10 @@ exports.add = handleError(async (req, res) => {
laporan: sanksi.laporan._id,
_id: sanksi._id,
['pengajuan.banding']: { $exists: true, $ne: null },
+ ['jawaban.cabut_sanksi']: {
+ $exists: false,
+ $eq: null,
+ },
},
{
$push: {