Skip to content

Commit

Permalink
fix(idp): more concise error message (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba authored Nov 27, 2024
1 parent b24acce commit e3572a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions idp/src/infra/error/creators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export function newInvalidJwtError() {
export function newUsernameUnavailableError() {
return newError({
code: ErrorCode.UsernameUnavailable,
message: `Username is not available.`,
userMessage: `Username is not available.`,
message: `Username not available.`,
userMessage: `Username not available.`,
})
}

Expand Down

0 comments on commit e3572a1

Please sign in to comment.