fix error
This commit is contained in:
parent
f3a9200b7c
commit
489f840d84
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ const UserProfile = {
|
||||||
this.fetchedUserId = userId
|
this.fetchedUserId = userId
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
fetchPromise
|
return fetchPromise
|
||||||
.catch((reason) => {
|
.catch((reason) => {
|
||||||
const errorMessage = get(reason, 'error.error')
|
const errorMessage = get(reason, 'error.error')
|
||||||
if (errorMessage === 'No user with such user_id') { // Known error
|
if (errorMessage === 'No user with such user_id') { // Known error
|
||||||
|
|
Loading…
Reference in a new issue