From 3665c86d709f3a04ae3471d09b84a69c8a8c9172 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Sat, 27 Apr 2019 21:51:17 -0400
Subject: [PATCH] use default_scope parameter
---
src/components/user_settings/user_settings.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js
index ae4d0694..5a7ff448 100644
--- a/src/components/user_settings/user_settings.js
+++ b/src/components/user_settings/user_settings.js
@@ -115,12 +115,10 @@ const UserSettings = {
params: {
note: this.newBio,
locked: this.newLocked,
- source: {
- privacy: this.newDefaultScope
- },
// Backend notation.
/* eslint-disable camelcase */
display_name: this.newName,
+ default_scope: this.newDefaultScope,
no_rich_text: this.newNoRichText,
hide_follows: this.hideFollows,
hide_followers: this.hideFollowers,