Browse Source

lp.dataObj = JSON.parse(lp.data)

skyfffire 3 năm trước cách đây
mục cha
commit
ddbf9ce42c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/lp/lpMaintenance.ts

+ 1 - 1
scripts/lp/lpMaintenance.ts

@@ -79,7 +79,7 @@ export class LpMaintenance {
     const lpAddressList: any = []
 
     for (const lp of lpList) {
-      logger.debug(lp)
+      lp.dataObj = JSON.parse(lp.data)
       lpAddressList.push(lp.dataObj.LP)
     }