Skip to content
Snippets Groups Projects
Commit d7b6e516 authored by syuilo's avatar syuilo
Browse files

Fix #472

parent ad497d0e
No related branches found
No related tags found
No related merge requests found
......@@ -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('プロフィールを更新しました');
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment