From 9595f43d014a0170552de25e4efc744b52c6704c Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 23 Feb 2017 17:19:52 +0900 Subject: Fix bug --- src/web/app/desktop/tags/settings.tag | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/web') diff --git a/src/web/app/desktop/tags/settings.tag b/src/web/app/desktop/tags/settings.tag index 544e41c256..56a00bc9ad 100644 --- a/src/web/app/desktop/tags/settings.tag +++ b/src/web/app/desktop/tags/settings.tag @@ -23,15 +23,15 @@ @@ -212,9 +212,9 @@ this.updateAccount = () => { this.api('i/update', { name: this.refs.accountName.value, - location: this.refs.accountLocation.value, - bio: this.refs.accountBio.value, - birthday: this.refs.accountBirthday.value + location: this.refs.accountLocation.value || undefined, + description: this.refs.accountDescription.value || undefined, + birthday: this.refs.accountBirthday.value || undefined }).then(() => { this.notify('プロフィールを更新しました'); }); -- cgit v1.2.3-freya