Fix #472
This commit is contained in:
parent
ad497d0e7e
commit
d7b6e516c8
1 changed files with 3 additions and 3 deletions
|
@ -202,9 +202,9 @@
|
||||||
this.updateAccount = () => {
|
this.updateAccount = () => {
|
||||||
this.api('i/update', {
|
this.api('i/update', {
|
||||||
name: this.refs.accountName.value,
|
name: this.refs.accountName.value,
|
||||||
location: this.refs.accountLocation.value || undefined,
|
location: this.refs.accountLocation.value || null,
|
||||||
description: this.refs.accountDescription.value || undefined,
|
description: this.refs.accountDescription.value || null,
|
||||||
birthday: this.refs.accountBirthday.value || undefined
|
birthday: this.refs.accountBirthday.value || null
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
notify('プロフィールを更新しました');
|
notify('プロフィールを更新しました');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue