From efe61c4e7b46220af518354a16a0466a1905e4d6 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 9 Nov 2022 11:08:00 +0800 Subject: [PATCH] bindAnixinStrucRes anxinyun --- api/app/lib/controllers/push/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app/lib/controllers/push/config.js b/api/app/lib/controllers/push/config.js index 5308865..0566837 100644 --- a/api/app/lib/controllers/push/config.js +++ b/api/app/lib/controllers/push/config.js @@ -144,7 +144,7 @@ async function list (ctx) { ...p, pomsProject: corBind, structure: returnStruc, - pushCount: corLogCount ? corLogCount.count : 0, + pushCount: corLogCount ? corLogCount.dataValues.count : 0, receiverPepUser: corReceiver }) } @@ -185,7 +185,7 @@ async function edit (ctx) { if (repeatRes) { throw `已有名称为[${name}]的同名策略` } - + if (pushId) { await models.AlarmPushConfig.update(storageData, { where: {