changed api call path (#198)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -76,7 +76,7 @@ const coordSaveCheckbox = document.querySelector('#id_save_coords')
|
|||||||
Object.entries(graph.getPositions(params.nodes)).map(
|
Object.entries(graph.getPositions(params.nodes)).map(
|
||||||
async ([nodeId, nodePosition]) => {
|
async ([nodeId, nodePosition]) => {
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
'/api/plugins/netbox_topology_views/save-coords/',
|
'/api/plugins/netbox_topology_views/save-coords/save_coords/',
|
||||||
{
|
{
|
||||||
method: 'PATCH',
|
method: 'PATCH',
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user