summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/api/topologies.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/api/topologies.js')
-rw-r--r--opendc-web/opendc-web-ui/src/api/topologies.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/src/api/topologies.js b/opendc-web/opendc-web-ui/src/api/topologies.js
index 802be4bb..40685094 100644
--- a/opendc-web/opendc-web-ui/src/api/topologies.js
+++ b/opendc-web/opendc-web-ui/src/api/topologies.js
@@ -31,7 +31,7 @@ export function getTopology(auth, topologyId) {
}
export function updateTopology(auth, topology) {
- const { _id, ...data } = topology;
+ const { _id, ...data } = topology
return request(auth, `topologies/${topology._id}`, 'PUT', { topology: data })
}