mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change api caall
This commit is contained in:
parent
e804aa655c
commit
a7009f935d
@ -62,10 +62,8 @@ export default {
|
||||
console.log('onSubmit', this.form.username)
|
||||
const result = await loginAPI.changeUsernameProfile(
|
||||
this.$store.state.sessionId,
|
||||
this.$store.state.email,
|
||||
{
|
||||
username: this.form.username,
|
||||
},
|
||||
this.$store.state.email,
|
||||
this.form.username,
|
||||
)
|
||||
if (result.success) {
|
||||
this.$store.commit('username', this.form.username)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user