From e3572a14af8c23a89623087469dcfd2c4181ea1c Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Wed, 27 Nov 2024 07:32:48 +0100 Subject: [PATCH] fix(idp): more concise error message (#396) --- idp/src/infra/error/creators.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idp/src/infra/error/creators.ts b/idp/src/infra/error/creators.ts index 5c8cef132..8d3f018a5 100644 --- a/idp/src/infra/error/creators.ts +++ b/idp/src/infra/error/creators.ts @@ -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.`, }) }