|
@ -313,7 +313,8 @@ async function del (ctx) { |
|
|
await models.CameraStatusPushMonitor.destroy({ |
|
|
await models.CameraStatusPushMonitor.destroy({ |
|
|
where: { |
|
|
where: { |
|
|
cameraId: cameraId |
|
|
cameraId: cameraId |
|
|
} |
|
|
}, |
|
|
|
|
|
transaction |
|
|
}) |
|
|
}) |
|
|
await models.CameraAbilityBind.destroy({ |
|
|
await models.CameraAbilityBind.destroy({ |
|
|
where: { |
|
|
where: { |
|
|