Skip to content

Commit

Permalink
perf: update passkey create
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Oct 16, 2024
1 parent e343e0d commit ec75615
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ export function getErrorResponseMsg(error) {
}).filter(i => i).join('; ')
} else if (typeof data === 'string') {
return data
} else {
msg = error.toString()
}
return msg
}
Expand Down Expand Up @@ -310,4 +312,5 @@ export function toSentenceCase(string) {
}).join(' ')
return s[0].toUpperCase() + s.slice(1)
}

export { BASE_URL }

0 comments on commit ec75615

Please sign in to comment.