File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 1
1
/composer.phar
2
2
3
- ! /public /index.php
4
- ! /public /.htaccess
5
- ! /public /web.config
6
- ! /public /robots
7
- ! /public /mix-manifest.json
8
- /laravel /public
3
+ ! /laravel / public /index.php
4
+ ! /laravel / public /.htaccess
5
+ ! /laravel / public /web.config
6
+ ! /laravel / public /robots
7
+ ! /laravel / public /mix-manifest.json
8
+ /laravel /public / *
9
9
/laravel /node_modules
10
10
/laravel /public /hot
11
11
/laravel /public /storage
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ export default {
57
57
},
58
58
update () {
59
59
let self = this ;
60
- axios .post (' /api/users/' + self .$route .params .id + ' ?token=' + localStorage .getItem (" api_token" )) ,
60
+ axios .post (' /api/users/' + self .$route .params .id + ' ?token=' + localStorage .getItem (" api_token" ),
61
61
{
62
62
_method: ' PUT' ,
63
63
name: self .name ,
64
- email: self .email
64
+ email: self .email ,
65
65
})
66
66
.then (function (response ) {
67
67
self .message = ' Successfully updated user.' ;
@@ -91,12 +91,5 @@ export default {
91
91
}
92
92
}
93
93
94
- /*
95
- items: (id) => {
96
- const user = usersData.find( user => user.id.toString() === id)
97
- const userDetails = user ? Object.entries(user) : [['id', 'Not found']]
98
- return userDetails.map(([key, value]) => {return {key: key, value: value}})
99
- },
100
- */
101
94
102
95
</script >
You can’t perform that action at this time.
0 commit comments