positioning/locate-test is a GET endpoint
This commit is contained in:
parent
19dafe5ea0
commit
7836cf41a7
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ c3nav = {
|
|||
return document.cookie.match(new RegExp('c3nav_csrftoken=([^;]+)'))[1];
|
||||
},
|
||||
test_location: function() {
|
||||
c3nav_api.post('positioning/locate-test/', data)
|
||||
c3nav_api.get('positioning/locate-test')
|
||||
.then(data => {
|
||||
console.log(data);
|
||||
window.setTimeout(c3nav.test_location, 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue