fix
This commit is contained in:
parent
1ca0ffb1f0
commit
72f41d78ff
2 changed files with 4 additions and 4 deletions
|
|
@ -110,7 +110,7 @@ export const fetchUserByName = ({ name, credentials }) =>
|
|||
credentials,
|
||||
params: { acct: name },
|
||||
})
|
||||
.then((data) => data.id)
|
||||
.then(({ data }) => data.id)
|
||||
.catch((error) => {
|
||||
if (error && error.statusCode === 404) {
|
||||
// Either the backend does not support lookup endpoint,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue