1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-11 13:18:11 +09:00
This commit is contained in:
syuilo 2017-06-07 03:10:22 +09:00
parent ad497d0e7e
commit d7b6e516c8

View File

@ -202,9 +202,9 @@
this.updateAccount = () => {
this.api('i/update', {
name: this.refs.accountName.value,
location: this.refs.accountLocation.value || undefined,
description: this.refs.accountDescription.value || undefined,
birthday: this.refs.accountBirthday.value || undefined
location: this.refs.accountLocation.value || null,
description: this.refs.accountDescription.value || null,
birthday: this.refs.accountBirthday.value || null
}).then(() => {
notify('プロフィールを更新しました');
});