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: {