Canvas: Update edges on port removal
Change-Id: I5f550f0511257207db4a2f0469957cc4449514bd
diff --git a/apps/canvas/back/index.js b/apps/canvas/back/index.js
index 425285c..6117e46 100644
--- a/apps/canvas/back/index.js
+++ b/apps/canvas/back/index.js
@@ -90,7 +90,7 @@
select: {
state: true,
draft: true,
- }
+ },
});
if (r == null) {
resp.status(404);
@@ -133,7 +133,7 @@
},
select: {
instanceId: true,
- }
+ },
});
if (p === null) {
resp.status(404);
@@ -154,7 +154,7 @@
method: "post",
data: {
config: req.body.config,
- }
+ },
});
if (r.status === 200) {
yield db.project.update({
@@ -176,7 +176,7 @@
method: "put",
data: {
config: req.body.config,
- }
+ },
});
if (r.status === 200) {
yield db.project.update({