Browse Source

fix 应用告警更新

dev
巴林闲侠 2 years ago
parent
commit
de93f831ad
  1. 2
      api/app/lib/controllers/alarm/app.js

2
api/app/lib/controllers/alarm/app.js

@ -133,7 +133,7 @@ async function notedInspection (ctx) {
async function apiError (ctx) { async function apiError (ctx) {
try { try {
const models = ctx.fs.dc.models; const models = ctx.fs.dc.models;
const { projectAppId, alarmContent, router, statusCode, screenshot = '', type } = ctx.request.body const { projectAppId, alarmContent, router, statusCode = null, screenshot = '', type } = ctx.request.body
const now = moment().format() const now = moment().format()
if (!type) { if (!type) {

Loading…
Cancel
Save