Spaces:
Running
Running
Update static/canvas.js
Browse files- static/canvas.js +1 -1
static/canvas.js
CHANGED
@@ -626,7 +626,7 @@ function saveNodes() {
|
|
626 |
})),
|
627 |
connections: connections
|
628 |
})
|
629 |
-
}).then(response => response.json
|
630 |
.then(data => console.log('Saved:', data))
|
631 |
.catch(error => console.error('Error:', error));
|
632 |
}
|
|
|
626 |
})),
|
627 |
connections: connections
|
628 |
})
|
629 |
+
}).then(response => response.json)
|
630 |
.then(data => console.log('Saved:', data))
|
631 |
.catch(error => console.error('Error:', error));
|
632 |
}
|