Commit 265238e00f48cfb323fa8464dfdd1575db5f9fe0

Authored by Adhidarma Hadiwinoto
1 parent 97b8a83dd9
Exists in master

APISERVER: penanganan penambahan lokasi pada gw yg blm ada data lokasi

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

api-server/router-locations.js
... ... @@ -43,6 +43,7 @@ function pageAdd(req, res) {
43 43 continue;
44 44 }
45 45  
  46 + if (!config.locations) config.locations = [];
46 47 config.locations.push(location.trim().toUpperCase());
47 48 }
48 49