yazid138 преди 2 години
родител
ревизия
d03fcccf51
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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}`)
     ),
   ]