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 11/composer.phar
22
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 / *
99/laravel /node_modules
1010/laravel /public /hot
1111/laravel /public /storage
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ export default {
5757 },
5858 update () {
5959 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" ),
6161 {
6262 _method: ' PUT' ,
6363 name: self .name ,
64- email: self .email
64+ email: self .email ,
6565 })
6666 .then (function (response ) {
6767 self .message = ' Successfully updated user.' ;
@@ -91,12 +91,5 @@ export default {
9191 }
9292}
9393
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- */
10194
10295 </script >
You can’t perform that action at this time.
0 commit comments