Allow four editable weight entries
Deploy / deploy-dev (push) Has been skipped
Deploy / deploy-prod (push) Successful in 3m2s

This commit is contained in:
Corey Blais committed 2026-06-17 09:57:23 -04:00
1 parent 53b75588a2
commit 8f1144de1a
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -930,7 +930,7 @@ export const updateWeightForBird = async (
FROM weight_records recent
WHERE recent.bird_id = $2
ORDER BY recent.recorded_on DESC, recent.created_at DESC
LIMIT 3
LIMIT 4
)
RETURNING id, bird_id, weight_grams, recorded_on::text, notes`,
[weightId, birdId, weightGrams, recordedOn, notes],