fix(withings): bind the plan-state timestamp instead of reading the database clock

This commit is contained in:
Marc-André Bombeck committed 2026-10-14 19:19:27 +02:00
1 parent 4793edb961
commit 65669e52d2
1 file changed
+1 -1
+1 -1
View File
@@ -299,7 +299,7 @@ export async function persistWithingsPlanLeg(
)
|| jsonb_build_object('version', 1)
|| jsonb_build_object(${leg}::text, ${value}::jsonb),
"updated_at" = NOW()
"updated_at" = ${new Date()}
WHERE "user_id" = ${userId}`;
annotate({
meta: {