diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e519f01..633620d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +- [#229](https://github.com/os2display/display-admin-client/pull/229) + - Fixed post body of activation POST request. - [#228](https://github.com/os2display/display-admin-client/pull/228) - Changed login page to only get oidc urls when a login button has been clicked. - [#227](https://github.com/os2display/display-admin-client/pull/227) diff --git a/src/components/activation-code/activation-code-activate.jsx b/src/components/activation-code/activation-code-activate.jsx index 76a39b46..a2776ba5 100644 --- a/src/components/activation-code/activation-code-activate.jsx +++ b/src/components/activation-code/activation-code-activate.jsx @@ -14,9 +14,9 @@ import FormInput from "../util/forms/form-input"; import ContentFooter from "../util/content-footer/content-footer"; /** - * The user create component. + * The activation code activate page. * - * @returns {object} The user create page. + * @returns {object} The activation code activate page. */ function ActivationCodeActivate() { const { t } = useTranslation("common", { diff --git a/src/components/user/login.jsx b/src/components/user/login.jsx index 3a8f9ab5..8ab68cb2 100644 --- a/src/components/user/login.jsx +++ b/src/components/user/login.jsx @@ -148,7 +148,7 @@ function Login() { dispatch( api.endpoints.postV1UserActivationCodesActivate.initiate({ - userActivationCodeUserActivateInput: JSON.stringify({ + userActivationCodeActivationCode: JSON.stringify({ activationCode, }), })