mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update SettingsController
This commit is contained in:
parent
f363a3275a
commit
927a2a7d04
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class SettingsController extends Controller
|
||||||
$uid = $request->user()->id;
|
$uid = $request->user()->id;
|
||||||
|
|
||||||
$setting = UserSetting::whereUserId($uid)->firstOrFail();
|
$setting = UserSetting::whereUserId($uid)->firstOrFail();
|
||||||
$compose = json_decode($setting->compose_settings, true);
|
$compose = is_string($setting->compose_settings) ? json_decode($setting->compose_settings, true) : $setting->compose_settings;
|
||||||
$changed = false;
|
$changed = false;
|
||||||
|
|
||||||
if($sync) {
|
if($sync) {
|
||||||
|
|
Loading…
Reference in a new issue