From 6c34259982872a9d20a0f99e5809adc14211318e Mon Sep 17 00:00:00 2001 From: Aung Kyaw Phyo Date: Mon, 22 Jun 2026 21:25:48 +0700 Subject: [PATCH] Fix/bristol login (#272) * Re-arrange timeline order * Add conditional checking for timeline setting --- app/controllers/api/v1/settings_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/settings_controller.rb b/app/controllers/api/v1/settings_controller.rb index 7acd9806..ddcd659f 100644 --- a/app/controllers/api/v1/settings_controller.rb +++ b/app/controllers/api/v1/settings_controller.rb @@ -97,7 +97,7 @@ def default_setting theme: { type: setting_params.present? ? setting_params[:settings][:theme][:type] || nil : nil }, - user_timeline: [1, 2, 3] + user_timeline: params[:app_name].to_s == 'bristol_cable' ? [1, 2, 3] : [2, 1, 3] } }.compact end