mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-15 14:35:55 +00:00
wip
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user