use default_scope parameter

This commit is contained in:
taehoon 2019-04-27 21:51:17 -04:00
parent 904a64de89
commit 3665c86d70

View file

@ -115,12 +115,10 @@ const UserSettings = {
params: { params: {
note: this.newBio, note: this.newBio,
locked: this.newLocked, locked: this.newLocked,
source: {
privacy: this.newDefaultScope
},
// Backend notation. // Backend notation.
/* eslint-disable camelcase */ /* eslint-disable camelcase */
display_name: this.newName, display_name: this.newName,
default_scope: this.newDefaultScope,
no_rich_text: this.newNoRichText, no_rich_text: this.newNoRichText,
hide_follows: this.hideFollows, hide_follows: this.hideFollows,
hide_followers: this.hideFollowers, hide_followers: this.hideFollowers,