Backend update renamed controllers and models to be singular

This commit is contained in:
Max G
2019-07-30 19:21:12 +00:00
parent 7806a206b2
commit 0d86aa4ff9
11 changed files with 41 additions and 48 deletions

View File

@@ -196,7 +196,7 @@
}
//Perform search
let vm = this
axios.post('/api/notes/search', postData).
axios.post('/api/note/search', postData).
then(response => {
console.log('Notes and Tags')
console.log(response.data)
@@ -217,7 +217,7 @@
const title = ''
let vm = this
axios.post('/api/notes/create', {title})
axios.post('/api/note/create', {title})
.then(response => {
if(response.data && response.data.id){