Skip to content

Commit

Permalink
fix typo that prevented accepting tos (mattermost#2038)
Browse files Browse the repository at this point in the history
  • Loading branch information
lieut-data committed Nov 14, 2018
1 parent cd15ed3 commit 725fe1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/user_actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export async function resendVerification(email, success, error) {
}

export async function updateTermsOfServiceStatus(termsOfServiceId, accepted, success, error) {
const {data, error: err} = await UserActions.updateTermsOfServiceStatus(termsOfServiceId, accepted)(dispatch, getState);
const {data, error: err} = await UserActions.updateMyTermsOfServiceStatus(termsOfServiceId, accepted)(dispatch, getState);
if (data && success) {
success(data);
} else if (err && error) {
Expand Down

0 comments on commit 725fe1d

Please sign in to comment.