4
0
Fork 0
mirror of https://github.com/zzzzDev4/IAS-Better-Tea.git synced 2025-04-21 07:31:20 +02:00

fix: default id -1 no longer used when registering new tea

This commit is contained in:
zzzz 2024-07-03 14:07:12 +02:00
parent d8b02f9656
commit a16f59fe12

View file

@ -457,6 +457,7 @@ void loop()
CATCH_NET_FAILURE(result, "POST FAILED") 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(); sound.playSaveSound();
smartDisplay.playTeaAnimationPartTwo(32, "", "Done!", "", ""); smartDisplay.playTeaAnimationPartTwo(32, "", "Done!", "", "");
state = State::DISPLAY_SCANNED_TEA_CONFIG; state = State::DISPLAY_SCANNED_TEA_CONFIG;