diff options
author | Kristian Lyngstol <kly@kly.no> | 2019-02-11 22:24:46 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2019-02-11 22:24:46 +0100 |
commit | b37496aa469bcb831576ea45a19bc065c37db284 (patch) | |
tree | b9656d2fc885c919f49f733b0f70ca90e0742797 | |
parent | 27929d995bad0b9123aec4773a3801587a2f671d (diff) |
front: Update switch-moving to use correct API
-rw-r--r-- | web/js/nms-map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/nms-map.js b/web/js/nms-map.js index 179d8e5..d5bc044 100644 --- a/web/js/nms-map.js +++ b/web/js/nms-map.js @@ -565,7 +565,7 @@ nmsMap._moveSubmit = function() { var myData = JSON.stringify([data]); $.ajax({ type: "POST", - url: "/api/write/switch-update", + url: "/api/write/switches", dataType: "text", data:myData, success: function (data, textStatus, jqXHR) { |