mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
fix: acually update the user
This commit is contained in:
@@ -166,7 +166,7 @@ class RegistrationPage extends React.Component {
|
||||
|
||||
updateUser = async () => {
|
||||
const user = {
|
||||
student_number: this.props.user.student_number,
|
||||
student_number: this.props.user.user.student_number,
|
||||
email: { email: this.props.email },
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user