mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
controller refactoring part 16
This commit is contained in:
@@ -131,7 +131,7 @@
|
||||
},
|
||||
methods: {
|
||||
fetchUser() {
|
||||
axios.get('/api/admin/users/' + this.$route.params.id + '/detail')
|
||||
axios.get('/api/admin/users/' + this.$route.params.id)
|
||||
.then(response => {
|
||||
this.user = response.data
|
||||
this.isLoading = false
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
|
||||
// Send request to get user token
|
||||
axios
|
||||
.post('/api/admin/users/create', formData, {
|
||||
.post('/api/admin/users', formData, {
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user