fixed openapi (#318)

This commit is contained in:
mattieserver authored and GitHub committed 2023-05-30 16:35:21 +02:00
1 parent 6ee787bfb7
commit 34437f1b5c
4 files changed
+6 -5

No files matched your search

@@ -7,7 +7,7 @@ const csrftoken = getCookie('csrftoken')
document.querySelector('form#images').addEventListener('submit', async (e) => {
e.preventDefault()
try {
const res = await fetch('/api/plugins/netbox_topology_views/images/', {
const res = await fetch('/api/plugins/netbox_topology_views/images/save/', {
method: 'POST',
body: JSON.stringify(mapping),
headers: {