From 3ee9869fd62e2a4d1561c3a9e83c5ae786e3391f Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Mon, 8 Aug 2022 15:16:25 +0800 Subject: [PATCH] CameraStatusPushMonitor del --- code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js b/code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js index 5c47d3b..d539bae 100644 --- a/code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js +++ b/code/VideoAccess-VCMP/api/app/lib/controllers/camera/index.js @@ -313,7 +313,8 @@ async function del (ctx) { await models.CameraStatusPushMonitor.destroy({ where: { cameraId: cameraId - } + }, + transaction }) await models.CameraAbilityBind.destroy({ where: {