Use OAuth for notes API calls and require authentication to close
This commit is contained in:
parent
e8d32637c1
commit
38255f9f8d
4 changed files with 7 additions and 2 deletions
|
@ -171,6 +171,7 @@ $(document).ready(function () {
|
|||
$.ajax({
|
||||
url: url,
|
||||
type: "POST",
|
||||
oauth: true,
|
||||
data: {
|
||||
lat: location.lat,
|
||||
lon: location.lng,
|
||||
|
@ -191,6 +192,7 @@ $(document).ready(function () {
|
|||
$.ajax({
|
||||
url: url,
|
||||
type: "POST",
|
||||
oauth: true,
|
||||
data: {
|
||||
text: $(form.text).val()
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue