Skip to content

Commit

Permalink
fix(errors): correcting invalid account type error message 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
qnen committed Oct 22, 2024
1 parent fbb78a7 commit 4df336d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ func ValidateBusinessError(err error, entityType string, args ...any) error {
EntityType: entityType,
Code: cn.ErrInvalidAccountType.Error(),
Title: "Invalid Account Type",
Message: "The provided 'type' is not valid. Accepted types are: deposit, savings, loans, marketplace, cerditCard or external. Please provide a valid type.",
Message: "The provided 'type' is not valid. Accepted types are: deposit, savings, loans, marketplace, creditCard or external. Please provide a valid type.",
},
}

Expand Down

0 comments on commit 4df336d

Please sign in to comment.