diff --git a/src/web/app/desktop/tags/settings.tag b/src/web/app/desktop/tags/settings.tag index 83f3e5754..25b0435ca 100644 --- a/src/web/app/desktop/tags/settings.tag +++ b/src/web/app/desktop/tags/settings.tag @@ -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('プロフィールを更新しました'); });