yazid138 2 years ago
parent
commit
30f708b33e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/graph.controller.js

+ 1 - 1
controller/graph.controller.js

@@ -401,7 +401,7 @@ exports.jumlahStatusLaporan = handleError(async (req, res) => {
 
   dataPembina = [
     ...new Set(
-      dataPembina.map((e) => `${e.pt.pembina.nama};${e.pt.pembina.id}`)
+      dataPembina.map((e) => `${e.pt.pembina.id};${e.pt.pembina.nama}`)
     ),
   ]