This commit is contained in:
Henry Jameson 2026-06-17 18:15:41 +03:00
commit 72f41d78ff
2 changed files with 4 additions and 4 deletions

View file

@ -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,