Commit 4186c2c8 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent f1c0b2b9
...@@ -21,7 +21,7 @@ async function run() { ...@@ -21,7 +21,7 @@ async function run() {
for (let j = 0; j < config.length; j++) { for (let j = 0; j < config.length; j++) {
levels.push(config[j].maxLevel) levels.push(config[j].maxLevel)
types.push(config[j].type.split('targetPercentage:true')[1]) types.push(config[j].type.split('targetPercentage:false')[1])
let dateString = config[j].dateString.split('_') let dateString = config[j].dateString.split('_')
for (let z = 0; z < dateString.length-1; z++) for (let z = 0; z < dateString.length-1; z++)
...@@ -33,7 +33,7 @@ async function run() { ...@@ -33,7 +33,7 @@ async function run() {
} }
// console.log(arr) // console.log(arr)
console.log(types)
arr = _.uniqBy(arr, 'platform'); arr = _.uniqBy(arr, 'platform');
arrDate = _.uniq(arrDate); arrDate = _.uniq(arrDate);
let uniqLevels = _.uniq(levels); let uniqLevels = _.uniq(levels);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment