From a0126d0aba9dd4a39b0cf0e5da7c3fe65418e4a0 Mon Sep 17 00:00:00 2001 From: Chelsea Date: Tue, 17 Feb 2026 04:35:55 +0000 Subject: [PATCH] fix: include adaptive_mode when enabling adaptive timing toggle The API requires adaptive_mode when adaptive_timing_enabled is true, but the frontend was only sending the enabled flag. This caused 400 errors when users tried to toggle adaptive timing on. Now the toggle sends both fields when enabling, satisfying the API validation requirements. --- synculous-client/src/app/dashboard/settings/page.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/synculous-client/src/app/dashboard/settings/page.tsx b/synculous-client/src/app/dashboard/settings/page.tsx index 50b37dd..631dc2d 100644 --- a/synculous-client/src/app/dashboard/settings/page.tsx +++ b/synculous-client/src/app/dashboard/settings/page.tsx @@ -427,7 +427,14 @@ export default function SettingsPage() {

Adjust medication times based on your wake time