From 65cb3603ad2682deacff47a72d9050e584a00488 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 2 Sep 2023 23:20:25 +0530 Subject: changed unique username error message --- errors/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors/errors.go b/errors/errors.go index dd307e5..d52004e 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -44,7 +44,7 @@ var ( ErrNonUniqueGSTIN = errors.New("GSTIN Must Be Unique") ErrNonUniquePhone = errors.New("Phone Number Must Be Unique") ErrNonUniqueEmail = errors.New("Email Address Must Be Unique") - ErrNonUniqueUsername = errors.New("Email Address Must Be Unique") + ErrNonUniqueUsername = errors.New("Username Must Be Unique") ErrNonUniqueWebsite = errors.New("Website Must Be Unique") ErrNonUniqueBrandName = errors.New("Brand Name Must Be Unique") ErrNonUniqueBrandItem = errors.New("Item With Same Name And Brand Already Exists") -- cgit v1.2.3