Ver código fonte

add pelanggaran

yazid138 3 anos atrás
pai
commit
d7570afcdb
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      utils/cekData.js

+ 1 - 0
utils/cekData.js

@@ -178,6 +178,7 @@ exports.cekBanyakDataSanksi = async (user, where = {}, q = {}) => {
       match: w,
     })
     .populate('user')
+    .populate('pelanggaran')
     .select('-dokumen')
     .sort({
       createdAt: -1,