Update username after Profile update

This commit is contained in:
Bubka
2020-01-27 22:04:47 +01:00
parent baa9658e46
commit 3dfdcb84bd
2 changed files with 6 additions and 1 deletions

View File

@ -92,6 +92,8 @@
.then(response => {
this.response = response.data.message
localStorage.setItem('user',response.data.username)
})
.catch(error => {
if( error.response.status === 400 ) {