diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c2c2afd0c..6f5d4ccb0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - [#6538](https://github.com/apache/trafficcontrol/pull/6538) Fixed the incorrect use of secure.port on TrafficRouter and corrected to the httpsPort value from the TR server configuration. - [#6562](https://github.com/apache/trafficcontrol/pull/6562) Fixed incorrect template in Ansible dataset loader role when fallbackToClosest is defined. - [#6590](https://github.com/apache/trafficcontrol/pull/6590) Python client: Corrected parameter name in decorator for get_parameters_by_profile_id +- [#6368](https://github.com/apache/trafficcontrol/pull/6368) Fixed validation response message from `/acme_accounts` ### Removed - Remove traffic_portal dependencies to mitigate `npm audit` issues, specifically `grunt-concurrent`, `grunt-contrib-concat`, `grunt-contrib-cssmin`, `grunt-contrib-jsmin`, `grunt-contrib-uglify`, `grunt-contrib-htmlmin`, `grunt-newer`, and `grunt-wiredep` diff --git a/lib/go-tc/acme_account.go b/lib/go-tc/acme_account.go index 1a2b96d81f..06c3aa9c0c 100644 --- a/lib/go-tc/acme_account.go +++ b/lib/go-tc/acme_account.go @@ -39,10 +39,10 @@ type AcmeAccount struct { // Validate validates the AcmeAccount request is valid for creation or update. func (aa *AcmeAccount) Validate(tx *sql.Tx) error { errs := validation.Errors{ - "email": validation.Validate(aa.Email, validation.Required), - "private_key": validation.Validate(aa.PrivateKey, validation.Required), - "uri": validation.Validate(aa.Uri, validation.Required), - "provider": validation.Validate(aa.Provider, validation.Required), + "email": validation.Validate(aa.Email, validation.Required), + "privateKey": validation.Validate(aa.PrivateKey, validation.Required), + "uri": validation.Validate(aa.Uri, validation.Required), + "provider": validation.Validate(aa.Provider, validation.Required), } return util.JoinErrs(tovalidate.ToErrors(errs))