|
|
@@ -116,7 +116,7 @@ exports.getAll = handleError(async (req, res) => {
|
|
|
} else if (perbaikan === 'true') {
|
|
|
where['jawaban.banding'] = { $exists: true, $ne: null }
|
|
|
} else if (delegasi === 'true') {
|
|
|
- w.delegasi = true
|
|
|
+ where.delegasi = true
|
|
|
}
|
|
|
const data = await cekBanyakDataSanksi(user, where)
|
|
|
return response.success(res, {
|