fixed delete cache
This commit is contained in:
parent
8c647b0b09
commit
a9450d448f
@ -113,8 +113,8 @@ module.exports = function (ctx) {
|
|||||||
API: JSON.stringify('https://seserver.se.hs-heilbronn.de:8443/buga19geocaching')
|
API: JSON.stringify('https://seserver.se.hs-heilbronn.de:8443/buga19geocaching')
|
||||||
}
|
}
|
||||||
: { // Base URL for API-Calls: PRODUCTION (build)
|
: { // Base URL for API-Calls: PRODUCTION (build)
|
||||||
//API: JSON.stringify('http://seserver.se.hs-heilbronn.de:9080/buga19geocaching')
|
API: JSON.stringify('https://seserver.se.hs-heilbronn.de:8443/buga19geocaching')
|
||||||
API: JSON.stringify('http://localhost:8080')
|
//API: JSON.stringify('http://localhost:8080')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -145,8 +145,8 @@
|
|||||||
editCache() {
|
editCache() {
|
||||||
},
|
},
|
||||||
deleteCache(id) {
|
deleteCache(id) {
|
||||||
console.log('delete cache: ' + id)
|
console.log('delete cache: ' + id);
|
||||||
this.$axios.delete('/api/deleteCache', {params: {cacheID: id}})
|
this.$axios.get('/api/deleteCache', {params: {cacheID: id}})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
this.fetchAllCaches()
|
this.fetchAllCaches()
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user