Browse Source

fix : Cannot read property 'length' of undefined

dev
CODE 2 years ago
parent
commit
84e27fb6b3
  1. 4
      api/app/lib/schedule/alarms_push.js

4
api/app/lib/schedule/alarms_push.js

@ -1,7 +1,7 @@
const moment = require('moment') const moment = require('moment')
let isDev = false let isDev = false
// isDev = true isDev = true
let proDebug = false let proDebug = false
proDebug = true proDebug = true
@ -1307,7 +1307,7 @@ module.exports = function (app, opts) {
} }
} }
if (projectList.length) { if (true || projectList.length) {
pepProject_name.map(s => { pepProject_name.map(s => {
s.projects = [] s.projects = []
projectList.map(f => { projectList.map(f => {

Loading…
Cancel
Save