1
0
Fork 0

chore(org): Linter warnings

This commit is contained in:
joostdecock 2023-01-27 21:09:44 +01:00
parent 13a10362fd
commit 1d31b3040a
19 changed files with 36 additions and 88 deletions

View file

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