Showing
1 changed file
with
2 additions
and
2 deletions
@@ -35,8 +35,8 @@ const _processBrandNames = (list) => { | @@ -35,8 +35,8 @@ const _processBrandNames = (list) => { | ||
35 | _.forEach(list, (item) => { | 35 | _.forEach(list, (item) => { |
36 | _.forEach(item, (obj) => { | 36 | _.forEach(item, (obj) => { |
37 | formatData.push({ | 37 | formatData.push({ |
38 | - brandDomain: obj.brandDomain.toLowerCase(), | ||
39 | - brandName: obj.brandName.toLowerCase() | 38 | + brandDomain: obj.brandDomain && obj.brandDomain.toLowerCase(), |
39 | + brandName: obj.brandDomain && obj.brandName.toLowerCase() | ||
40 | }); | 40 | }); |
41 | }); | 41 | }); |
42 | }); | 42 | }); |
-
Please register or login to post a comment