chore(org): Linter warnings
This commit is contained in:
parent
13a10362fd
commit
1d31b3040a
19 changed files with 36 additions and 88 deletions
|
@ -95,7 +95,7 @@ function useBackend(app) {
|
|||
let result
|
||||
try {
|
||||
app.startLoading()
|
||||
result = await api.post(`/available/username/jwt`, { username }, auth)
|
||||
await api.post(`/available/username/jwt`, { username }, auth)
|
||||
} catch (err) {
|
||||
// 404 means user is not found, so the username is available
|
||||
if (err.response?.status === 404) return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue