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.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/src/api/topologies.js b/opendc-web/opendc-web-ui/src/api/topologies.js
index 0b8864e0..bd4e3bc4 100644
--- a/opendc-web/opendc-web-ui/src/api/topologies.js
+++ b/opendc-web/opendc-web-ui/src/api/topologies.js
@@ -35,6 +35,7 @@ export function addTopology(auth, topology) {
}
export function updateTopology(auth, topology) {
+ // eslint-disable-next-line no-unused-vars
const { _id, ...data } = topology
return request(auth, `topologies/${topology._id}`, 'PUT', { topology: data })
}