From a16f59fe120a7e2d27ea66cba6c561bdfeac04ac Mon Sep 17 00:00:00 2001 From: zzzz Date: Wed, 3 Jul 2024 14:07:12 +0200 Subject: [PATCH] fix: default id -1 no longer used when registering new tea --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 57bf584..76b7a22 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -457,6 +457,7 @@ void loop() CATCH_NET_FAILURE(result, "POST FAILED") + currentTea = TeaData(result["id"], result["tea_name"], result["rfid_code"], result["tea_notes"], result["water_temp"], result["steeping_seconds"]); sound.playSaveSound(); smartDisplay.playTeaAnimationPartTwo(32, "", "Done!", "", ""); state = State::DISPLAY_SCANNED_TEA_CONFIG;