This commit is contained in:
Marcel Pociot committed 2020-05-03 22:10:34 +02:00
1 parent 7d0a570d85
commit 7821a2f172
6 files changed
+69 -45

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@
methods: {
deleteUser(user) {
fetch('/expose/users/delete/'+user.id, {
fetch('/users/delete/'+user.id, {
method: 'DELETE',
}).then((response) => {
return response.json();
@@ -69,7 +69,7 @@
});
},
saveUser() {
fetch('/expose/users', {
fetch('/users', {
method: 'POST',
headers: {
'Content-Type': 'application/json'